[CDO] DerbyStore and CLOB [message #426242] |
Sun, 21 December 2008 10:57  |
Eclipse User |
|
|
|
Hy.
Sometimes my EMF objects contain strings longer than the appropriate
VARCHAR columns that CDO created for those objects in the derby
database. Are there any options for the normal Derby Store to use CLOB's
for specific attributes?
Or is my only option to use the HibernateStore?
Greets,
Kai
|
|
|
|
|
Re: [CDO] DerbyStore and CLOB [message #426336 is a reply to message #426248] |
Thu, 25 December 2008 13:39   |
Eclipse User |
|
|
|
Hi,
some time ago, someone did propose an API to pass DB creation hints to
the DBStore (in that case it were custom DB indexes the DB store was
supposed to add). I can't remember if there's a bugzilla for that.
> But I will see how I can contribute as I dig further into CDO.
You are more than welcome to participate. :-)
> Perhaps with some kind of starter tutorial as I miss that a bit at the
> moment. Most of the info is a bit scattered (newsgroup, snippets,
> tutorial, Eclipsecon presentation) at the moment.
Most of CDOs internals are not very much documented explicitly, but the
code is quite readable and mostly harmless ... errr.... clean, that is. :-)
And if you have any questions about some of the mechanisms, please do
not hesitate to ask in the newsgroup. As the group of committers grows,
so does the amount of people who can answer questions on the newsgroup ...
Cheers,
Stefan
> I hope I will find some time in the near future.
>
> Greets,
> Kai
>
>
> Eike Stepper schrieb:
>> Kai,
>>
>> Unfortunately the proprietary DBStore has currently no means to
>> configure model-specific mappings.
>> But we'd be glad to have them. Are you interested in working together
>> with us for this purpose?
>>
>> So Hibernate is certainly your only option if you don't want to
>> contribute ;-)
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>>
>>
>>
>> Kai Schlamp schrieb:
>>> Hy.
>>>
>>> Sometimes my EMF objects contain strings longer than the appropriate
>>> VARCHAR columns that CDO created for those objects in the derby
>>> database. Are there any options for the normal Derby Store to use
>>> CLOB's for specific attributes?
>>> Or is my only option to use the HibernateStore?
>>>
>>> Greets,
>>> Kai
|
|
|
Re: [CDO] DerbyStore and CLOB [message #426337 is a reply to message #426336] |
Fri, 26 December 2008 05:21  |
Eclipse User |
|
|
|
Hi Kai, Stefan,
> some time ago, someone did propose an API to pass DB creation hints to
> the DBStore (in that case it were custom DB indexes the DB store was
> supposed to add). I can't remember if there's a bugzilla for that.
You mean this:
256635: [DB] Make DBStore Database schema initialization configurable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256635
Eike and I proposed to use annotations to customize the behaviour of the
IStore. I think this might fulfil Kai's needs.
Regards, and Happy Christmas!
Víctor.
|
|
|
Powered by
FUDForum. Page generated in 0.05562 seconds