Methos generate in org.hibernate.id.enhanced.OptimizerFactory$PooledLoOptimizer classs is
not synchronized
-----------------------------------------------------------------------------------------------------------
Key: HHH-5872
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5872
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.6.0, 3.6.0.CR2, 3.6.0.CR1, 3.5.6, 3.6.0.Beta4, 3.6.0.Beta3, 3.5.5,
3.6.0.Beta2, 3.6.0.Beta1, 3.5.4, 3.5.3, 3.5.2
Environment: Hibernate 3.5.6-Final, Oracle 11g, WebSphere 6.1 cluster
Reporter: Tchavdar Roussanov
Receiving multiple primary key constraint violation exceptions when using
SequenceStyleGenerator with optimizer parameter set to pooled-lo. Looking into the source
code I found that the generate mathod for the new PooledLoOptimizer is not synchronized.
After switching to PooledOptimizer (which has synchronized generate method) every thing
works fine.
--
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