[ http://jira.andromda.org/browse/HIB-92?page=history ]
Chad Brandon reopened HIB-92:
-----------------------------
Assign To: Chad Brandon (was: Martin West)
Wrong version
> wrong XML for a 1-to-(0..1) association
> ----------------------------------------
>
> Key: HIB-92
> URL: http://jira.andromda.org/browse/HIB-92
> Project: Hibernate Cartridge
> Type: Bug
> Versions: 3.0 RC2
> Reporter: Klaus Schultz
> Assignee: Chad Brandon
> Fix For: 3.0 RC2
>
> I have an unidirectional 1-to-(0..1) association from Item to Bid. Item got
> the forced aggregation symbol, the association end at Bid got the rolename
> "successfullBid". The following XML is generated:
> <many-to-one name="successfullBid"
> class="org.hibernate.auction.model.BidImpl"
> outer-join="auto" foreign-key="ITEM_SUCCESSFULL_BID_FKC">
> <column name="SUCCESSFULL_BID_FK" not-null="false" unique="true"/>
> </many-to-one>
> The constraint "unique=true" is an error, since null is allowed in the
> foreign key and that produces an SQL runtime error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel