[jboss-user] [JBoss Portal] - Re: Setting user's roles doesn't trigger Hibernate PreInsert

JohnnyTheHun do-not-reply at jboss.com
Tue Jun 2 08:57:14 EDT 2009

Thank you for your quick answer, your solution is good too, if the hibernate listener approach doesn't work.

I have tested the hibernate listener method and found that the following actions do not trigger a hibernate pre event:

- adding roles to a user

- adding / setting / changing a page's display name

- setting the theme (layout, renderset etc) of a page

- adding / setting / changing a page's properties

Can anyone tell me how to catch these events?


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

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

More information about the jboss-user mailing list