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.
I was born with webbed fish toes. This tiny ad is my only friend:
ScroogeXHTML - small and flexible RTF to HTML converter library