]
Krasimir Chobantonov commented on HHH-3586:
-------------------------------------------
Also HiLoOptimizer seems that have the same issue..
SequenceHiLoGenerator generates values ahead of the actual sequence
-------------------------------------------------------------------
Key: HHH-3586
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3586
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.3.1
Environment: Hibernate 3.3.1, Oracle 10G
Reporter: Krasimir Chobantonov
Original Estimate: 1 hour
Remaining Estimate: 1 hour
The code that needs to be change in on line 83 of the SequenceHiLoGenerator
here is the line
hi = hival * ( maxLo+1 );
basically we should add (+) the maxLo +1 to the current sequence value represented bu the
hival instead of using multiply (*)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: