openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <>
Subject BrokerImpl using thread class loader?
Date Wed, 03 Jan 2007 05:29:07 GMT
The BrokerImpl class initializes the _loader to Thread.currentThread 
().getContextClassLoader() when constructed (when an EM is  
constructed).  This cl is used while loading the mappings file.  This  
causes the entity classes to be loaded from the thread context class  
loader instead of the class loader specified in the PersistenceUnit.   
Is this expected behavior?

In the mean time, I'll code around it.


View raw message