0 Replies Latest reply on Jul 9, 2007 12:57 PM by Andrew

    Hibernate Tools with Seam entity security possible?

    Andrew Apprentice

      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?