> -----Ursprüngliche Nachricht-----
> Von: pbt123 [mailto:prabh...@in.ibm.com] 
> Gesendet: Mittwoch, 16. Mai 2012 23:56
> An: users@openjpa.apache.org
> Betreff: Re: entity is not available in memory-repost
> 
> 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.
> 

That is your problem  -  you can not retrieve something from the Database that 
is not
In the Database yet!

However, inside your transaction, you should still have the references to the 
previously
created "C" Objects and you can still use them / change them ...


John

Reply via email to