Thread:
 Logger using SessinFactory and DB 
 golly97   28 Mar 2008, 11:10 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: golly97 (28 Mar 2008, 11:10) Replies: 0, Views: 743
Subject: Logger using SessinFactory and DB
Hey guys,
I used the following article as a base line to create my own logger.
Have a look and let me know what you think

http://javarobski.blogspot.com/2008/03/hibernate-audit-logging-right-way.html

I hack into the session factory to get the DB table and column names.
This works better for me as i don't depend on the names of my java objects

cheers.


Robert
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]