DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Michael Bouschen
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

Add SEQUENCES support to DerbyAdapter

Created: 18/Feb/12 06:48 PM   Updated: 21/Mar/12 10:19 AM   Resolved: 18/Feb/12 08:08 PM
Component/s: Value Generation
Affects Version/s: 3.0.6
Fix Version/s: 3.0.8, 3.1.0.m1

File Attachments: 1. Text File DerbyAdapter.patch (3 kB)

Datastore: Apache Derby
Severity: Development

 Description  « Hide
SEQUENCE support was added to Derby in release 10.6.
The current DerbyAdapter results in an UnsupportedOperationException: This adapter does not support sequences.
I propose to extend the DerbyAdapterto support SEQUENCES running a derby version >= 10.6.

Michael Bouschen added a comment - 18/Feb/12 06:52 PM
The attached patch DerbyAdapter.patch adds support to the DerbyAdapter class.

The patch is tested with the JDO TCK, configuration detach.conf.

Michael Bouschen made changes - 18/Feb/12 06:52 PM
Field Original Value New Value
Attachment DerbyAdapter.patch [ 11590 ]
Andy Jefferson added a comment - 18/Feb/12 08:08 PM
Thx Michael, now applied to trunk and branches/3.0

Andy Jefferson made changes - 18/Feb/12 08:08 PM
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 3.0.8 [ 11485 ]
Fix Version/s 3.1.0.m1 [ 11451 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 21/Mar/12 10:19 AM
Status Resolved [ 5 ] Closed [ 6 ]