[jboss-user] [JBoss Seam] - Hibernate Tools with Seam entity security possible?

andrew.rw.robinson do-not-reply at jboss.com
Mon Jul 9 12:57:36 EDT 2007


I have installed the nightly JBossTools for eclipse 3.3 and am trying to use the hibernate console to run HQL queries in a JPA session context. Everything is working except for the seam listener that is throwing exceptions in eclipse.

In my META-INF/orm.xml I have:
...
<entity-listener class="org.jboss.seam.security.EntitySecurityListener" />
...

(BTW - this is seam 1.2.1)

The listener throws exceptions in eclipse since there is no Identity object that has been initialized since the code is not running in a JSF context. Is there any way I can get the listener to not run inside of eclipse, but still have it run inside the web app?

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

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



More information about the jboss-user mailing list