[JBoss-user] [JBoss Seam] - Re: @PreUpdate not being called on Seam @Entity

2006-07-10 Thread [EMAIL PROTECTED]
Emmanuel doesn't monitor this list. Ask in HEM or EJB3 forums. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956475#3956475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956475

[JBoss-user] [JBoss Seam] - Re: @PreUpdate not being called on Seam @Entity

2006-07-06 Thread RobJellinghaus
Arrgh, sorry about that. I fundamentally misunderstood how this works. Now I know about @EntityListeners and I will build a proper listener class and so forth. SEARCH BEFORE POSTING :-( Cheers, Rob View the original post :

[JBoss-user] [JBoss Seam] - Re: @PreUpdate not being called on Seam @Entity

2006-07-06 Thread RobJellinghaus
Actually, it looks like I *didn't* misunderstand how this works. A Hibernate forum post mentions that the EJB3 lifecycle callbacks only work if you're using EntityManager, i.e. an embedded EJB3 container. Which I'm not -- I'm using the microcontainer-based Hibernate example for my