I guess I'm assuming that most people use XDoclet with their hibernate. I'm still trying to fix in my head how the proxied interface class and the impleneting class work.

For example: I declare a User interface, and UserImpl implements it, pretty standard stuff. All of the @hibernate tags are in UserImpl, and it declares a proxy="com.whatever.User" as a proxy.

In another entity somewhere, say a Blog, that has a one-to-one association with a User. Can I declare the proxy interface as the class="com.whatever.User" or must I declare the implementing class? class="com.whatever.UserImpl"



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to