[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-23?page=com...
]
Peter Kamm commented on ANN-23:
-------------------------------
Why does this not work (Standard JPA Annotation):
@SequenceGenerator(name = "GEN_SEQ_GEN", sequenceName = "XY_SEQ",
allocationSize = 100, initialValue = 1000000)
If this works (Hibernate dependent)
@GenericGenerator( name = "GEN_SEQ_GEN",
strategy = "org.hibernate.id.enhanced.SequenceStyleGenerator",
parameters = {
@Parameter(name = "sequence_name", value = "XY_SEQ"),
@Parameter(name = "initial_value", value = 1000000),
@Parameter(name = "increment_size", value = 100)
}
)
Could the enhanced SequenceStyleGenerator not be used for standard JPA so that the
allocationSize works correct (also for
DDL Generation)?
Support for initialValue of @SequenceGenerator
----------------------------------------------
Key: ANN-23
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-23
Project: Hibernate Annotations
Issue Type: Bug
Components: binder
Affects Versions: 3.1beta3
Reporter: Emmanuel Bernard
Priority: Minor
AllocationSize resolved in ANN-296
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira