]
Steve Ebersole resolved HHH-5253.
---------------------------------
Resolution: Fixed
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.1
Reporter: Martin Gubser
Assignee: Steve Ebersole
Fix For: 3.6, 3.5.x
Attachments: A.java, HiLoTest.java
Time Spent: 0.8h
Remaining Estimate: 0h
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: