Hello We have faced a problem and I think this is likely a bug in openJpa to understand the problem I describe it as below:
- we have a simple named query in which we used "left join fetch" select voucher from Voucher voucher left join fetch voucher.entries where voucher.voucherNoSuspense = ?1 - from a SLSB say S1 before calling a business method of another SLSB say S2 I get a voucher with the same id using the above named query for some reason - after I call S2's method, it uses the same query to fetch that record for me - S2 returns a list with two elements that are exactly the same. - if I don't use the query in S1 the S2 will return only one record otherwise there are two records with the same id!!! - the thing is that if I change the query and remove the "left join fetch voucher.entries" this problem will be gone is this a bug? unfortunately I can't create a test case because I am really busy do I have to do anything in configuring OpenJPA? thanks -- View this message in context: http://n2.nabble.com/two-object-of-the-same-record%21%21%21-tp1508313p1508313.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
