Hi all
I have an entity in which I need to assign my own ID to its primary key,
I put the code to extract the id and set it to the field in a PrePersist method, however,
the ejb validates the entity before calling that callback method so the exception will be
thrown
my question is where should I put this code or how can I say the EJB not to validate
before persisting!
any comment would be of great help
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147047#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...