http://www.hibernate.org/hib_docs/reference/en/html/performance.html#performance-proxies
Basically, if you *lazily* retrieve an instance of a subclass, by specifying the superclass type in the getReference() method, or navigation of an association of the superclass type, you will not be able to downcast. So simply re-retrieve the same instance using find(), and you will have an instance of the subclass. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922664#3922664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922664 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
