eclipselink simply keeps the connection ;)
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-06-27 18:46 GMT+02:00 hwaastad <[email protected]>: > OK, > did test another thing. > (I do not like the thought of just running a collection function for > initializing a lazy colelction) > > a find will trigger lazy fetch. > > so basically what I can do is in my actionlistener before rendering dialog > lookup the selected entity and then the lazy collection will be feched from > db. > > It kind of makes me wonder how eclipselink handles this outside the > transaction..... > > br hw > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/tomee-eclipselink-openjpa-tp4670212p4670225.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
