Ah. I ran into a limitation. CGLIB is great for our proxies, as long as the persistent classes are not polymorphic. But in the case of a class with subclasses, we don't know the concrete class at proxy-creation time. And theres no way for the proxy to be an instance of both Bar and Baz if Bar and Baz are two possible subclasses of foo. Thats a Java language limitation. So we end up needing the proxy interfaces after all, in that case. Oh well, it still helps for non-polymorphic associations!
------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v? http://www.sun.com/javavote _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel