Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » H2 enablement
H2 enablement [message #526056] Thu, 08 April 2010 11:17 Go to next message
Romain Bioteau is currently offline Romain Bioteau
Messages: 62
Registered: August 2009
Location: Grenoble
Member
Hi,
I've integrated DTP in a RCP and we need to add some connectivity to
other product than those present in enablement project.

For example, I need to provide an enablement for H2 database. I have
followed this tutorial :
http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html

However, I think i've missed the xmi generation (just left the template
value) as I don't know the specification for H2. The result is that I
succeed to connect the db but i've only access to the INFORMATION_SCHEMA
tables. I didn't succeed to see public table.

Thanks for your help.
Romain


R&D Engineer at BonitaSoft
Re: H2 enablement [message #526300 is a reply to message #526056] Fri, 09 April 2010 10:36 Go to previous messageGo to next message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
Hi Romain!

Did you implement the catalog loaders that article discusses? That's
where the SQL results coming back from the database are converted to the
EMF model that gets rendered in the tree.

--Fitz

Romain Bioteau wrote:
> Hi,
> I've integrated DTP in a RCP and we need to add some connectivity to
> other product than those present in enablement project.
>
> For example, I need to provide an enablement for H2 database. I have
> followed this tutorial :
> http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
>
> However, I think i've missed the xmi generation (just left the template
> value) as I don't know the specification for H2. The result is that I
> succeed to connect the db but i've only access to the INFORMATION_SCHEMA
> tables. I didn't succeed to see public table.
>
> Thanks for your help.
> Romain
Re: H2 enablement [message #526305 is a reply to message #526300] Fri, 09 April 2010 11:00 Go to previous messageGo to next message
Romain Bioteau is currently offline Romain Bioteau
Messages: 62
Registered: August 2009
Location: Grenoble
Member
Hi Fitz,
I did try to do but something but i'm stuck with the same problem that
is : I don't know what is the specificity of H2 (the tutorial is
speaking about sqlite). Is H2 the same of Sqlite for catalog loaders ?
(no schema ?)

I will try to stick to the tutorial to see if it works like SQLite.
Thanks for the help

Romain


Le 09/04/2010 16:36, Brian Fitzpatrick a écrit :
> Hi Romain!
>
> Did you implement the catalog loaders that article discusses? That's
> where the SQL results coming back from the database are converted to the
> EMF model that gets rendered in the tree.
>
> --Fitz
>
> Romain Bioteau wrote:
>> Hi,
>> I've integrated DTP in a RCP and we need to add some connectivity to
>> other product than those present in enablement project.
>>
>> For example, I need to provide an enablement for H2 database. I have
>> followed this tutorial :
>> http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
>>
>>
>> However, I think i've missed the xmi generation (just left the
>> template value) as I don't know the specification for H2. The result
>> is that I succeed to connect the db but i've only access to the
>> INFORMATION_SCHEMA tables. I didn't succeed to see public table.
>>
>> Thanks for your help.
>> Romain


R&D Engineer at BonitaSoft
Re: H2 enablement [message #526306 is a reply to message #526305] Fri, 09 April 2010 11:06 Go to previous message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
Yeah... Understood.

A lot of what you may need seems to be listed on the H2 site:
http://www.h2database.com/html/main.html

If you look at data types, SQL grammar, etc.

--Fitz

Romain Bioteau wrote:
> Hi Fitz,
> I did try to do but something but i'm stuck with the same problem that
> is : I don't know what is the specificity of H2 (the tutorial is
> speaking about sqlite). Is H2 the same of Sqlite for catalog loaders ?
> (no schema ?)
>
> I will try to stick to the tutorial to see if it works like SQLite.
> Thanks for the help
>
> Romain
>
>
> Le 09/04/2010 16:36, Brian Fitzpatrick a écrit :
>> Hi Romain!
>>
>> Did you implement the catalog loaders that article discusses? That's
>> where the SQL results coming back from the database are converted to the
>> EMF model that gets rendered in the tree.
>>
>> --Fitz
>>
>> Romain Bioteau wrote:
>>> Hi,
>>> I've integrated DTP in a RCP and we need to add some connectivity to
>>> other product than those present in enablement project.
>>>
>>> For example, I need to provide an enablement for H2 database. I have
>>> followed this tutorial :
>>> http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
>>>
>>>
>>>
>>> However, I think i've missed the xmi generation (just left the
>>> template value) as I don't know the specification for H2. The result
>>> is that I succeed to connect the db but i've only access to the
>>> INFORMATION_SCHEMA tables. I didn't succeed to see public table.
>>>
>>> Thanks for your help.
>>> Romain
>
Re: H2 enablement [message #597422 is a reply to message #526056] Fri, 09 April 2010 10:36 Go to previous message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
Hi Romain!

Did you implement the catalog loaders that article discusses? That's
where the SQL results coming back from the database are converted to the
EMF model that gets rendered in the tree.

--Fitz

Romain Bioteau wrote:
> Hi,
> I've integrated DTP in a RCP and we need to add some connectivity to
> other product than those present in enablement project.
>
> For example, I need to provide an enablement for H2 database. I have
> followed this tutorial :
> http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
>
> However, I think i've missed the xmi generation (just left the template
> value) as I don't know the specification for H2. The result is that I
> succeed to connect the db but i've only access to the INFORMATION_SCHEMA
> tables. I didn't succeed to see public table.
>
> Thanks for your help.
> Romain
Re: H2 enablement [message #597428 is a reply to message #526300] Fri, 09 April 2010 11:00 Go to previous message
Romain Bioteau is currently offline Romain Bioteau
Messages: 62
Registered: August 2009
Location: Grenoble
Member
Hi Fitz,
I did try to do but something but i'm stuck with the same problem that
is : I don't know what is the specificity of H2 (the tutorial is
speaking about sqlite). Is H2 the same of Sqlite for catalog loaders ?
(no schema ?)

I will try to stick to the tutorial to see if it works like SQLite.
Thanks for the help

Romain


Le 09/04/2010 16:36, Brian Fitzpatrick a écrit :
> Hi Romain!
>
> Did you implement the catalog loaders that article discusses? That's
> where the SQL results coming back from the database are converted to the
> EMF model that gets rendered in the tree.
>
> --Fitz
>
> Romain Bioteau wrote:
>> Hi,
>> I've integrated DTP in a RCP and we need to add some connectivity to
>> other product than those present in enablement project.
>>
>> For example, I need to provide an enablement for H2 database. I have
>> followed this tutorial :
>> http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
>>
>>
>> However, I think i've missed the xmi generation (just left the
>> template value) as I don't know the specification for H2. The result
>> is that I succeed to connect the db but i've only access to the
>> INFORMATION_SCHEMA tables. I didn't succeed to see public table.
>>
>> Thanks for your help.
>> Romain


R&D Engineer at BonitaSoft
Re: H2 enablement [message #597434 is a reply to message #526305] Fri, 09 April 2010 11:06 Go to previous message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
Yeah... Understood.

A lot of what you may need seems to be listed on the H2 site:
http://www.h2database.com/html/main.html

If you look at data types, SQL grammar, etc.

--Fitz

Romain Bioteau wrote:
> Hi Fitz,
> I did try to do but something but i'm stuck with the same problem that
> is : I don't know what is the specificity of H2 (the tutorial is
> speaking about sqlite). Is H2 the same of Sqlite for catalog loaders ?
> (no schema ?)
>
> I will try to stick to the tutorial to see if it works like SQLite.
> Thanks for the help
>
> Romain
>
>
> Le 09/04/2010 16:36, Brian Fitzpatrick a écrit :
>> Hi Romain!
>>
>> Did you implement the catalog loaders that article discusses? That's
>> where the SQL results coming back from the database are converted to the
>> EMF model that gets rendered in the tree.
>>
>> --Fitz
>>
>> Romain Bioteau wrote:
>>> Hi,
>>> I've integrated DTP in a RCP and we need to add some connectivity to
>>> other product than those present in enablement project.
>>>
>>> For example, I need to provide an enablement for H2 database. I have
>>> followed this tutorial :
>>> http://fitzdtp.blogspot.com/2008/08/dtp-sqlite-support-conti nued-on-to.html
>>>
>>>
>>>
>>> However, I think i've missed the xmi generation (just left the
>>> template value) as I don't know the specification for H2. The result
>>> is that I succeed to connect the db but i've only access to the
>>> INFORMATION_SCHEMA tables. I didn't succeed to see public table.
>>>
>>> Thanks for your help.
>>> Romain
>
Previous Topic:Generic parser API
Next Topic:Re: Connection with MySQL
Goto Forum:
  


Current Time: Tue Jul 22 07:30:57 EDT 2014

Powered by FUDForum. Page generated in 0.02264 seconds