db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <...@apache.org>
Subject Re: DN support for derby sequences
Date Sat, 18 Feb 2012 18:06:35 GMT
Hi Andy,

thanks for the links.

I added a DN JIRA: 
http://www.datanucleus.org/servlet/jira/browse/NUCRDBMS-581 and attached 
a patch for the DerbyAdapter class. I also added a patch to the JDO JIRA 
https://issues.apache.org/jira/browse/JDO-682 changing the schema and 
the mapping to make use of sequences in derby. So the configuration 
detach.conf will test the DN support for sequences in derby.

Regards Michael

>> Is it an issue to support sequences in the derby adapter? The derby
>> database itself supports sequences since version 10.6.
> Hi Michael,
> you can easily contribute support.
> The adapter for Derby at
> http://datanucleus.svn.sourceforge.net/viewvc/datanucleus/platform/store.rdbms/trunk/src/java/org/datanucleus/store/rdbms/adapter/DerbyAdapter.java?revision=14093&view=markup
> needs updating to include support for versions 10.6+ (only).
> To see an example of an adapter which has support look at
> http://datanucleus.svn.sourceforge.net/viewvc/datanucleus/platform/store.rdbms/trunk/src/java/org/datanucleus/store/rdbms/adapter/HSQLAdapter.java?revision=11607&view=markup
> and search for "sequence" (case-insensitive); ought to give you enough of an
> idea what is needed. Then raise a DN JIRA and attach a patch.

*Michael Bouschen*

akquinet tech@spree GmbH
Bülowstr. 66, D-10783 Berlin

Fon:   +49 30 235 520-33
Fax:   +49 30 217 520-12
Email: michael.bouschen@akquinet.de
Web: www.akquinet.de <http://www.akquinet.de>

akquinet tech@spree GmbH, Berlin
Geschäftsführung: Martin Weber, Dr. Torsten Fink
Amtsgericht Berlin-Charlottenburg HRB 86780 B
USt.-Id. Nr.: DE 225 964 680

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message