[GLASSFISH-20663] ejb gateway pattern killed Created: 26/Jun/13  Updated: 26/Jun/13

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: kumm Assignee: michael.y.chen
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In an extended persistence context em.find returns detached entity when no transaction is available.
This is the use case of a simple 'load' method in an ejb gateway.

Tried em.merge right after find, but the behavior is really strange. It works, but 'kicks off' other enitites from the persistence context.



 Comments   
Comment by kumm [ 26/Jun/13 ]

I have a neat testcase. How can i attach it?
Pushed to github.
https://github.com/kumm/gatewaykilled.git

Generated at Fri Feb 12 13:13:20 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.