]
Strong Liu commented on HHH-5016:
---------------------------------
Hi, have you tried hibernate trunk/3.5-RC2? does this work in it?
if not, do you have a test case and would you pls attach it?
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: