Thanks for reply First, the 5 records were not committed into database yet, these are still in memory as the transaction has not completed and I need to get the same 5 record for some business validation purpose.
I am using application-managed persistence. My EMF starts as soon as someone login to the GUI and EM will create whenever we start a new transaction and close after committing the transaction. I think, I am missing some basic property which hands this condition. Could you please point me to the properties? Thanks -- View this message in context: http://openjpa.208410.n2.nabble.com/entity-is-not-available-in-memory-repost-tp7562678p7562793.html Sent from the OpenJPA Users mailing list archive at Nabble.com.