Re: [hibernate-dev] Bytecode enhancement and collections

2015-09-10 Thread Steve Ebersole
That depends on the "allow lazy loading outside transaction" setting, much like how the outcome of `myEntity.getChildren().size()` depends on same in the proxy solution. If that is allowed, then the call will build the collection (from a "temporary Session", just like the proxy solution works) and

Re: [hibernate-dev] Bytecode enhancement and collections

2015-09-10 Thread Scott Marlow
On 09/10/2015 09:45 AM, Steve Ebersole wrote: > Wanted to get some opinions. I am working on HHH-10055 which is basically > a report of problems with that "lazy loading outside of a > session/transaction" feature when used in combination with bytecode > enhancement. The initial problem was that

[hibernate-dev] Bytecode enhancement and collections

2015-09-10 Thread Steve Ebersole
Wanted to get some opinions. I am working on HHH-10055 which is basically a report of problems with that "lazy loading outside of a session/transaction" feature when used in combination with bytecode enhancement. The initial problem was that bytecode interception was not accounting for collection