Hi!

Ingo Bruell wrote:
> Thursday, December 21, 2000, 12:09:47 PM, you wrote:
> 
> R�> Try getting the pk and print out its classloader (without casting it):
> R�> out.println(ectx.getPrimaryKey().getClass().getClassLoader());
> R�> and then print out the cl of the PK class:
> R�> out.println(PersonPK.class.getClassLoader());
> 
> R�> and see what your results are.
> 
> PersonPK.class.getClassLoader():
> java.net.URLClassLoader@3a1ec6
> 
> ectx.getPrimaryKey().getClass().getClassLoader():
> java.net.URLClassLoader@38f8eb

As expected (i.e. wrong).

And what is result of Thread.currentThread().getContextClassLoader()?

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]

Reply via email to