Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-132
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-132
Summary: missing toOne
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Components:
Cayenne Core Library
Versions:
1.1 [DEV]
Assignee: Andrus Adamchik
Reporter: Tore Halset
Created: Fri, 28 May 2004 5:08 AM
Updated: Fri, 28 May 2004 5:08 AM
Environment: cayenne-1.1M6, MS SQL Server
Description:
My model has a to-one relation A->B that sometimes are empty. Is that
supported? How can I test if a B exist for a given A? Checking for
(a.getB() == null) does not work. It seems like a.getB returns a empty
object with every attribute set to null.
See:
http://objectstyle.org/cayenne/lists/cayenne-user/2004/05/0061.html
http://objectstyle.org/cayenne/lists/cayenne-user/2004/05/0065.html
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Fri May 28 2004 - 05:08:48 EDT