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.

-dain

Reply via email to