[jboss-jira] [JBoss JIRA] Created: (HIBERNATE-67) bytecode provider is only read from hibernate.properties and not from hibernate.cfg.xml
Roland Thomas Lichti (JIRA)
jira-events at lists.jboss.org
Fri Jun 22 07:01:52 EDT 2007
bytecode provider is only read from hibernate.properties and not from hibernate.cfg.xml
---------------------------------------------------------------------------------------
Key: HIBERNATE-67
URL: http://jira.jboss.com/jira/browse/HIBERNATE-67
Project: Hibernate
Issue Type: Bug
Environment: Hibernate 3.2.4
Reporter: Roland Thomas Lichti
Assigned To: Steve Ebersole
When switching to javassist as bytecode provider you have to add a hibernate.properties instead of adding it to hibernate.cfg.xml.
The entry in hibernate.cfg.xml is ignored since the byte code provider is configured before the hibernate.cfg.xml is read:
2007-06-22 11:30:43,013 INFO [Thread-72] - org.hibernate.cfg.Environment.<clinit> (Environment.java:547) - hibernate.properties not found
2007-06-22 11:30:43,036 INFO [Thread-72] - org.hibernate.cfg.Environment.buildBytecodeProvider (Environment.java:681) - Bytecode provider name : cglib
2007-06-22 11:30:43,075 INFO [Thread-72]- org.hibernate.cfg.Environment.<clinit> (Environment.java:598) - using JDK 1.4 java.sql.Timestamp handling
2007-06-22 11:30:43,742 INFO [Thread-72]- org.hibernate.cfg.Configuration.configure (Configuration.java:1426) - configuring from resource: /hibernate.cfg.xml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list