I am trying to use the Auditting feature avaialble within Hibernate in my spring based web app.I am running into issues though.Firstly when I simly mention <prop name="hibernate.hbm2ddl.auto">create</prop>,the existing table is
just dropped.Not created again.I am specifying this in the applicationContext.xml which has other information related to sessionfactory,transactionManager etc specified.Not sure why.
Specifically for auditing,is simply specifying the annotation @Audited in the java domain object enough.The envers documentation says so but i wanted to confirm.Also I am using the hibernate-envers-4.1.6.jar in the WEB-INF folder.
Are you okay? You look a little big. Maybe this tiny ad will help:
the new thread boost feature brings a LOT of attention to your favorite threads