1 Reply Latest reply on Dec 18, 2006 1:30 PM by Emmanuel Bernard

    Error persisting entities in EJB3 unknow entity java.lang.Il

    Sriraman Gopalan Newbie

      Hi All,

      I am using JSF/Seam/EJB3. Invoking a SLSB method from JSF via Seam throws the following exception:

      15:05:14,375 ERROR [STDERR] java.lang.IllegalArgumentException: Unknown entity: entities.Client$$EnhancerByCGLIB$$78349cf5
      15:05:14,375 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:215)
      15:05:14,375 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:175)
      15:05:14,375 ERROR [STDERR] at sessionbeans.StandardClientService.sessionbeans$StandardClientService$createClientJSF$aop(StandardClientService.java:92)
      15:05:14,375 ERROR [STDERR] at sessionbeans.StandardClientService$createClientJSF_N7759129025289692916.invokeNext(StandardClientService$createClientJSF_N7759129025289692916.java)
      15:05:14,375 ERROR [STDERR] at aoptest.PermissionInterceptor.verifyPermissions(PermissionInterceptor.java:191)
      



      I have a jboss aop interceptor for the session bean. Is this creating problems?

      Any help would be appreciated.

      Thanks in advance.
      regards
      sriraman.