tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: CMP2 enitity get is making update query in Linux environment
Date Thu, 23 Feb 2017 12:16:10 GMT
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.atluri@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message