[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2928?page=c...
]
Maciej Baranowski updated HHH-2928:
-----------------------------------
Attachment: NoopRaceConditionTest.java
Here is JUnit test doing actual database work - it simulates many inserts done by a few
threads.
The target database needs to be Oracle to observe the race condition.
optimizers for enhanced id generators should be synchronized against
multi-threaded access
------------------------------------------------------------------------------------------
Key: HHH-2928
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2928
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.5
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.2.6, 3.3
Attachments: NoopOptimizerTest.java, NoopRaceConditionTest.java
Currently the optimizers do not serialize access to their internal state when applying
their optimizations. This only affects the pooled and hilo optimizers.
--
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