TableHiLoGenerator does not increment hi-value any more when lo-range es exhausted
----------------------------------------------------------------------------------
Key: HHH-5253
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5253
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.5.2, 3.5.1
Environment: Hibernate 3.5.2, DB2 v9.7
Reporter: Martin Gubser
Attachments: A.java, HiLoTest.java
The {{TableHiLoGenerator}} increments the lo value when it first gets a lo-range but not
any more when it grabs further lo-ranges.
The first run of the attached program leaves the hi-value=1. Consequently on the second
run it uses an id that has already been assigned to.
--
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