Community
Participate
Working Groups
Build Identifier: 2.1.1.v20100817-r8050 Derby 10.6.1.0 added support for sequence objects [1], to enable this feature for JPA in EclipseLink, org.eclipse.persistence.platform.database.DerbyPlatform needs to be updated. In addition to #supportsSequenceObjects(), #isAlterSequenceObjectSupported() and #buildSequenceObjectDeletionWriter(Writer, String) must be implemented in DerbyPlatform. [1] https://issues.apache.org/jira/browse/DERBY-712 Reproducible: Always
Created attachment 177669 [details] Simple subclass of DerbyPlatform with sequence support
Thank you for the submission, adding to 2.3/trunk.
SVN commit, trunk: BUG#323897, 335464 - Derby pagination and sequencing https://bugs.eclipse.org/bugs/show_bug.cgi?id=323897 Adds pagination and sequencing support to DerbyPlatform. Thank you to A. Bargull for submitting the Derby sequencing patch. Changes: - Added sequence support for Derby (Derby added this as of 10.6) *** You must upgrade to Derby 10.6 or greater to run tests that use sequencing successfully. - Added pagination support for Derby. - Added fix to rollbackTransaction, was causing Derby test failures. - Added fix to unwrapping JDBC Connection in JPA to support external connection pooling. Code Review: Andrei (pending)
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink