On Feb 23, 2007, at 3:11 AM, Andrus Adamchik wrote:
> BTW, this discussion happened to be very helpful in straightening
> Cayenne PersistentUnitInfo ClassLoaders. We had our own version of
> TemporaryClassLoader from the beginning, but is was used as the
> main PersistentUnitInfo class loader, not the temp one (and
> provider incorrectly called PersistentUnitInfo.getClassLoader() as
> a result). I fixed it and got further down with OpenEJB JpaTest.
> Enhancer now works. I'll see if I can address other errors.
I suggest you compare you temp class loader to the one I pointed
out. It is very easy to get the code wrong (I did my first two
attempts at it).
-dain
This archive was generated by hypermail 2.0.0 : Fri Feb 23 2007 - 10:31:15 EST