hi,
i tried to solve my problem with a hibernate.properties file which is included fine
Code:
INFO [org.hibernate.cfg.Environment] loaded properties from resource hibernate.properties: {hibernate.cglib.use_reflection_optimizer=true, jta.UserTransaction=UserTransaction}
but the problem still exists.
If i deploy my application in JBoss 4.0.2 (or take an older Hibernate version) i do not get a exception. If i change hibernate.usertansaction property to a fictive value and deploy it (4.0.2) i get the same exception as i get with 4.0.3 with the default property value.
But if i deploy my application in 4.0.3 and change the property to "UserTransaction" the Environment loads this property but uses the default value (java:comp/UserTransaction)!
Can someone tell me why
1) the default for JBoss is java:comp/UserTransaction and NOT UserTransaction and
2) Hibernate uses the default value even, if if my hibernate.properties file is loaded well
Or am i wrong and the problem is somewhere else?
Regards
Peter