[hibernate-dev] classloading issue when trying to add envers to as7

Emmanuel Bernard emmanuel at hibernate.org
Wed Aug 3 13:03:58 EDT 2011


On 3 août 2011, at 18:56, Scott Marlow wrote:

> On 08/03/2011 11:44 AM, Strong Liu wrote:
>> Hi there,
>> 
>> I get envers embedded into as7 :D
>> 
>> see below:
>> 
>> https://github.com/stliu/hibernate-core/tree/classloading
>> https://github.com/stliu/jboss-as/tree/as7-928-2
>> 
>> 1. org.hibernate module and org.hibernate.envers module depends on each other.
> 
> We might make the Hibernate to envers dependency optional in the 
> org.hibernate module.xml:
>    <module name="org.envers" optional="true"/>
> So, that it is possible for the envers module to be removed for some 
> reason (I cannot think of why at the moment but just a thought).

This will not work for any other user provided Hibernate Core integrators I think.



More information about the hibernate-dev mailing list