[jboss-user] [JBoss Seam] - Re: EntityHome and Primay Key value assignment for new recor

swd847 do-not-reply at jboss.com
Wed Oct 10 18:35:21 EDT 2007


I am to 100% sure what you mean, by q2 but I think you want to look up the section in the hibernate entityManager docs on event listeners. I think you could set a PrePersist listener on you keygen component, and this would acomplish what you are after, I am not sure though.


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

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



More information about the jboss-user mailing list