[hibernate-commits] [hibernate/hibernate-orm] 3e4786: HHH-5929 PooledLoOptimizer is not thread-safe
GitHub
noreply at github.com
Tue Jul 10 12:28:10 EDT 2012
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 3e4786220c8b66d3603ce315169a6bc645609fad
https://github.com/hibernate/hibernate-orm/commit/3e4786220c8b66d3603ce315169a6bc645609fad
Author: Philippe Marschall <philippe.marschall at gmail.com>
Date: 2012-07-10 (Tue, 10 Jul 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
Log Message:
-----------
HHH-5929 PooledLoOptimizer is not thread-safe
All Optimizers in OptimizerFactory are thread safe by having the
#generate(AccessCallback) method synchronized. The only exception is
PooledLoOptimizer who's #generate(AccessCallback) method is not
synchronized.
- make PooledLoOptimizer#generate(AccessCallback) synchronized
https://hibernate.onjira.com/browse/HHH-5929
https://hibernate.onjira.com/browse/HHH-6829
More information about the hibernate-commits
mailing list