3 Replies Latest reply on Feb 11, 2009 2:53 AM by adamw

    @NotAudited on embedded components ignored

    toby451

      I have an entity A which has a component B embedded (via @Embedded/@Embeddable). All B:s properties are added to the A-revision-table (i.e. to A_AUD) eventhough I mark some of the field of B as "@NotAudited". Is this a known limitation or possibly a bug?

        • 1. Re: @NotAudited on embedded components ignored
          adamw

          Hello,

          I think this is fixed in trunk. You can try the hibernate-3.3 compatible branch from here:
          http://anonsvn.jboss.org/repos/hibernate/core/branches/envers-hibernate-3.3/

          --
          Adam

          • 2. Re: @NotAudited on embedded components ignored
            toby451

            Perfect, thanks!

            I downloaded and built it ... and now it works. It is not really sanctioned (although sometimes we have to) to use non-GA thirdparty jars on our project why I have to ask you: What is the ETA ... if you know ... of a GA where this fix is included?


            BTW: Anyone trying to build the branch should add these rows to the pom.xml or else it is kind of tricky to build:

             <repositories>
             <repository>
             <id>jboss</id>
             <url>http://repository.jboss.com/maven2/</url>
             </repository>
            
             <repository>
             <id>jboss-snapshot</id>
             <url>http://snapshots.jboss.org/maven2</url>
             <snapshots>
             <enabled>true</enabled>
             </snapshots>
             <releases>
             <enabled>false</enabled>
             </releases>
             </repository>
             </repositories>
            
             <pluginRepositories>
             <pluginRepository>
             <id>jboss</id>
             <url>http://repository.jboss.com/maven2/</url>
             </pluginRepository>
             </pluginRepositories>
            


            ... put it under the line
            <version>1.2.0-hibernate-3.3</version>





            • 3. Re: @NotAudited on embedded components ignored
              adamw

              Hello,

              I hope to release it sometime in february.

              Adam