The following comment has been added to this issue:
Author: Andrew Stevens
Created: Tue, 22 Feb 2005 6:02 PM
Body:
The first tag you gave
@hibernate.many-to-one
column="USER_ID"
class="User
cascade="all"
is missing the closing quote on the class attribute. That could account for
the other values going missing, as all the following attributes will be taken
as the values and vice versa...
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1271?page=comments#action_16002
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1271
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1271
Summary: problems with hibernate.many-to-one
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Hibernate Module
Versions:
1.2.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Richard Featherstone
Created: Wed, 16 Feb 2005 4:46 AM
Updated: Tue, 22 Feb 2005 6:02 PM
Description:
@hibernate.many-to-one
column="USER_ID"
class="User
cascade="all"
not-null="true"
unique="true"
outer-join="true"
foreign-key="FK_USERS"
->
many-to-one
name="credentials"
class=" User"
cascade="none"
outer-join="auto"
update="true"
insert="true"
access="property"
column="USER_ID"
/>
The cascade, not-null, unique and outer-join values are lost.
When I do
@hibernate.many-to-one
not-null="true"
foreign-key="FK_USERS"
cascade="all"
unique="true"
outer-join="true"
column="USER_ID"
class=" User
I get
<many-to-one
name="credentials"
class=" User"
cascade="all"
outer-join="true"
update="true"
insert="true"
access="property"
foreign-key="FK_USERS"
column="USER_ID"
not-null="true"
unique="true"
/>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel