[jboss-user] [EJB 3.0] - Re: How to get generated id after persiting an entity?
do-not-reply at jboss.com
Thu Oct 23 03:21:22 EDT 2008
That's strange. Are you sure you are calling the getId on the correct (returned) object? Can you post that part of the code where you are using this returned object? Also what does myEntity.getId() print, just before returning from the bean method?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184052#4184052
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184052
More information about the jboss-user