• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Hibernate audit  RSS feed

Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Please advise.

I was born with webbed fish toes. This tiny ad is my only friend:
ScroogeXHTML - small and flexible RTF to HTML converter library
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!