Skip to content

Changes in DerbyAdaptor identity #233

@csnemeti

Description

@csnemeti

Hello,

Right now identities for Derby are generated with
GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1).
I would like to suggest the following changes that could be made based on some system variables or some Batoo configuration variables:

  • Possibility to use GENERATED ALWAYS AS IDENTITY or GENERATED BY DEFAULT AS IDENTITY.
  • Possibility to define start value (default would be 1).
  • Possibility to define increment value (default would be 1).

I think these changes are important since they can help a lot in unit testing. When I re-import again the data in DB it always generates me new value for ID because of ALWAYS.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions