Oops.  Pilot error.  Why is it you can look at something for hours, and then
as soon as you ask for help you figure out the problem?

 

  _____  

From: Chris O'Connell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 20, 2007 10:23 AM
To: '[email protected]'
Subject: Getting a classcastexception

 

I am lazy loading a list.  When I am debugging my code, I see that for my
attribute, there is a class that is a Proxy, not my real class (in the
config file, I am specifying that the class is a java.util.List).  So, when
I try to 'get' that List, I get a class cast exception.  I am following the
standard 'bean' notation in my class for the setter/getter.  Is there
something special I need to do so that the Proxy is generated with the
correct class?

 

Thanks in advance,

Chris

Reply via email to