On 12/16/2015 09:07 AM, Scott Marlow wrote: > Any arguments against merging the > https://github.com/scottmarlow/hibernate-orm/commits/pooledOptimizer_5.x > change to master + 5.x? > > I will create a jira for this change. > > Any suggestions for how to specify in persistence.xml, that the > PooledThreadLocalLoOptimizer should be used? We already have > "hibernate.id.optimizer.pooled.prefer_lo", which I think can be true or > false. Should we add another another similar property? Or perhaps > allow "hibernate.id.optimizer.pooled.prefer_lo" to be set to "greedy > thread local optimizer" or "pooled-lotl"? Something like: > > <property name="hibernate.id.optimizer.pooled.prefer_lo" > value="pooled-lotl"/>
I pushed a change [1] to allow "hibernate.id.optimizer.pooled.prefer_lo" to be set to "pooled-lotl". Should we instead introduce a different property setting for allowing "pooled-lotl" to be enabled? Alternative could be a boolean "hibernate.id.optimizer.pooled.prefer_lotl", then we could leave "hibernate.id.optimizer.pooled.prefer_lo" as a boolean. I don't see much difference between either approach. Scott [1] https://github.com/scottmarlow/hibernate-orm/commits/pooledOptimizer_5.x _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev