hii. i am using entitymanger to presist Object as:
Customer cust; em.presist(cust); the id of customer is auto generated (in my case it is Oracle Sequence). after presistance i want to get the id of the presisted Object. like Customer cust; em.presist(cust); // Want to get the Id here; cust.getId(); it returns null (as object is not syncronized with the database). thanks for you help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044879#4044879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044879 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
