[hibernate-issues] [Hibernate-JIRA] Resolved: (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 Oct 17 10:59:24 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2153?page=all ]
     
Emmanuel Bernard resolved HHH-2153:
-----------------------------------

    Resolution: Rejected

Set your property in 
<config>/deploy/ejb3.deployer/META-INF/persistence.properties

> 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