persistence@glassfish.java.net

Obtaining Last Generated PK

From: digi_pixel <napperley_at_gmail.com>
Date: Wed, 9 Apr 2008 18:31:53 -0700 (PDT)

Is there a way to retrieve the last generated PK for a specific Entity Bean?
For some reason when I persist an object with the entity manager its
reference is set to null hence it cannot be used again unless a reference is
obtained, so the last PK is needed.
-- 
View this message in context: http://www.nabble.com/Obtaining-Last-Generated-PK-tp16599710p16599710.html
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.