db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <michael.bousc...@akquinet.de>
Subject DN support for derby sequences
Date Sun, 12 Feb 2012 19:22:40 GMT
Hi Andy,

I started looking at JDO-682 
(https://issues.apache.org/jira/browse/JDO-682). The JIRA proposes to 
make use of a sequence for the datastore identity of some of the 
shoppingcart pc classes. The test runs into the following exception:
java.lang.UnsupportedOperationException: This adapter does not support 
sequences
     at 
org.datanucleus.store.rdbms.adapter.DatabaseAdapter.getSequenceCreateStmt(DatabaseAdapter.java:1089)
     at 
org.datanucleus.store.rdbms.valuegenerator.SequenceGenerator.createRepository(SequenceGenerator.java:262)
     at 
org.datanucleus.store.rdbms.valuegenerator.AbstractRDBMSGenerator.obtainGenerationBlock(AbstractRDBMSGenerator.java:162)

Is it an issue to support sequences in the derby adapter? The derby 
database itself supports sequences since version 10.6.

Regards Michael
-- 
*Michael Bouschen*
*Prokurist*

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

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