[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5872) Methos generate in org.hibernate.id.enhanced.OptimizerFactory$PooledLoOptimizer classs is not synchronized
Oskar Berggren (JIRA)
noreply at atlassian.com
Sun Nov 27 10:26:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44442#comment-44442 ]
Oskar Berggren commented on HHH-5872:
-------------------------------------
Duplicate of HHH-5929.
> 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.5.2, 3.5.3, 3.5.4, 3.6.0.Beta1, 3.6.0.Beta2, 3.5.5, 3.6.0.Beta3, 3.6.0.Beta4, 3.5.6, 3.6.0.CR1, 3.6.0.CR2, 3.6.0
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list