Hi, did you ensure you have the exact same database and datasource configuration on both OS?
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-02-23 7:33 GMT+01:00 seenu.atluri <seenu.atl...@gmail.com>: > Hi, > > We have legacy application with bunch of CMP2 beans migrated to TomEE from > Weblogic. We have a getEntity business methods in SSB which are running in > transaction. During transaction commit, OpenJPA is making update query with > no values changed for all child entities (one-to-many relationship) > although > there is no change to the entity. This making the process too slow and > leading transaction time-out sometimes. Obviously, Session cache is > expected > to hold these entities and make db hit only if the child entities are > changed, not always. > > We see this behavior only in Unix, not in Windows environment. Does anybody > experience this problem? > Would appreciate your help. > > Thanks & Regards, > Srinivas Atluri. > > > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/CMP2-enitity-get-is-making-update-query-in- > Linux-environment-tp4681136.html > Sent from the TomEE Users mailing list archive at Nabble.com. >