[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)

Armin Haaf (JIRA) noreply at atlassian.com
Wed Oct 18 03:52:25 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2153?page=comments#action_24861 ] 

Armin Haaf commented on HHH-2153:
---------------------------------

I added a javassist issue 

http://jira.jboss.com/jira/browse/JASSIST-28


> 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