4 Replies Latest reply on May 16, 2006 7:58 PM by voidhawc

    PrePersist implementation

      Hi,

      I'm trying to find out why the JBoss server throws an exception when running a @PrePersist method that modifies a primary key. According to the EJB3 spec it is supposed to happen before the persist is applied to the Entity.

      There are JIRA issues on both JBoss and Hibernate.

      So I was wondering if anyone knows where I can get the source code.

      http://anonhibernate.labs.jboss.com/trunk/HibernateExt/ejb-api/src/javax/persistence/PrePersist.java
      has the interface.

      Any clues would be helpful.

      Thanks

      Grant