[jboss-user] [EJB 3.0] - Re: regarding @PrePersist and ID assignment

mnrz do-not-reply at jboss.com
Wed Apr 30 05:32:45 EDT 2008


"jaikiran" wrote : 
  | You should be setting the id before calling persist. Why are you trying to do that in a callback method?
  | 

thanks for your reply, the thing is that I want to calculate the ID from a formula in which I use an algorithm. however, if I set any field other than ID it won't work as well

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147762#4147762

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147762



More information about the jboss-user mailing list