H2 enablement [message #526056] |
Thu, 08 April 2010 11:17  |
Eclipse User |
|
|
|
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 #526306 is a reply to message #526305] |
Fri, 09 April 2010 11:06  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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 #597434 is a reply to message #526305] |
Fri, 09 April 2010 11:06  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.08760 seconds