hibernate/hibernate-orm — pull request #350 by marschall (2012-06-09 17:50:14+00:00)
Title: 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