[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5016) Add support for initialValue on sequence generation
Roll Tide (JIRA)
noreply at atlassian.com
Tue Jun 7 14:10:25 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42501#action_42501 ]
Roll Tide commented on HHH-5016:
--------------------------------
Hello,
I see that this issue is closed. Was there any resolution for this? It still happens for me on v3.5.3-Final.
Thank you!
> Add support for initialValue on sequence generation
> ---------------------------------------------------
>
> Key: HHH-5016
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5016
> Project: Hibernate Core
> Issue Type: Improvement
> Reporter: Morten Egelund Rasmussen
>
> I'm having an entity with a @javax.persistence.SequenceGenerator annotation:
> {code}
> @SequenceGenerator(name = "foo.pkseq",
> sequenceName = "MY_SCHEME.SEQ_FOO_ID",
> allocationSize=1,
> initialValue=100)
> {code}
> I have set "hibernate.hbm2ddl.auto = create".
> When the sequence is created, it is created without the initialValue properly set. Referring to the documentation on Hibernate Annotations 3.4, it states that this feature is currently not implemented. I have tried with the H2 and HSQLDB databases.
> I'm doing some integration tests, where records are created in a RAM-based H2 or HSQLDB test database. The database is already populated with data.
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list