Issue Details (XML | Word | Printable)

Key: NUCRDBMS-581
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Michael Bouschen
Votes: 0
Watchers: 0
Operations

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.


Sort Order: Ascending order - Click to sort in descending order
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.

Andy Jefferson added a comment - 18/Feb/12 08:08 PM
Thx Michael, now applied to trunk and branches/3.0