java - Hibernate optional dependencies -
i downloaded hibernate 4.2.3 final , see has several optional libraries, though i'm not sure uses them or under circumstances needed/desired:
jboss-logging-3.1.0.ga.jar
- native slf4j binding? there way have hibernate not use logging, , instead use slf4j , different binding? if so, how?- c3p0 , proxool jars optionally included; these 2 connection pool frameworks hibernate can configured use? if wanted use, day, bonecp? if wanted let jndi (tomcat/dbcp) decide connection pool use?
- what
hibernate-entitymanager
? - what
hibernate-envers
?
thanks in advance!
hibernate uses jboss-logging, refer to: how configure logging in hibernate 4 use slf4j
i never heard of others, i'm sure of use cases. if want use tomcat/dbcp can use jta datasource. don't think there connection provider hibernate 3 or 4. source: http://wiki.apache.org/commons/dbcp/hibernate
if want use hibernateentitymanager instead javax.persistence.entitymanager, can have jar on classpath , code it.
envers "automagical" auditing/versioning extension, annotate entities
@audited
, during transaction, changes persisted. there more here http://www.jboss.org/envers.
Comments
Post a Comment