[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2153) Not possible to overwrite System property defaults with hibernate.properties (e.g. use cglib bytecode provider in jboss)
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Nov 7 09:19:04 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2153?page=comments#action_25190 ]
Emmanuel Bernard commented on HHH-2153:
---------------------------------------
The fix will be part of Javassist 3.4
I'll keep things uptodate here HHH-2219
> Not possible to overwrite System property defaults with hibernate.properties (e.g. use cglib bytecode provider in jboss)
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: HHH-2153
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2153
> Project: Hibernate3
> Type: Bug
> Components: core
> Versions: 3.2.0.ga
> Environment: JBoss 4.0.4GA, hibernate 3.2.0.ga
> Reporter: Armin Haaf
>
>
> It is not possible to set the bytecode provider by hibernate.properties, because jboss ejb3.deployer sets it in System.properties. System.properties is added to the GLOBAL_PROPERTIES in Environment.class after hibernate.properties and overwrites the values in hibernate.properties. A solution would be to change the order of adding the properties to GLOBAL_PROPERTIES. First add System.properties, then add hibernate.properties, to be able to overwrite as needed
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list