db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@datanucleus.org>
Subject Re: DN support for derby sequences
Date Sun, 12 Feb 2012 19:35:32 GMT
> 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.

-- 
Andy
DataNucleus (http://www.datanucleus.org)

Mime
View raw message