--- [EMAIL PROTECTED] wrote:

> Am I doing some thing wrong here?  I have:
> 
> @hibernate.many-to-one 
>      column="USER_ID"
>      class="User
>      cascade="all"
>      not-null="true"
>      unique="true"
>      outer-join="true"
>      foreign-key="FK_USERS"
> 
> in my java, but it generates:
> 
> many-to-one
>      name="credentials"
>      class=" User"
>      cascade="none"
>      outer-join="auto"
>      update="true"
>      insert="true"
>      access="property"
>      column="USER_ID"
>         />
> 
> in my cfg.xml file.  The cascade, not-null, unique,
> outer-join and
> foreign-key values are all lost.  Is this the
> correct use of the tags?

Use seems correct. but this could be a bug - you can
eitherr file JIRA issue for xdoclet-1, or try
xdoclet-2 plugin. Cascade attribute is supported
there. 
See:
http://xdoclet.codehaus.org

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Plugins for xdoclet-2 are released. check it out at:
http://www.sourceforge.net/projects/xdoclet-plugins/
----[ http://www.pribluda.de ]------------------------


                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to