Null value in many-to-one compound key doesn't wok

Description

If one of the fields in the child table that comprises a many-to-one compund key has a null
value, then fetching the parent table results in a null value for the variable representing the child value

hbm.xml from hibernate-tools reverse enginerring tool.

Ie.
fetch ca.NcContact

comes back with

1 ncOrgUnit = ncOrgUnit('ITS','UBC')
2 ncOrgUnit = null

Attachments

5

Activity

Show:

George Lindholm January 30, 2006 at 9:43 PM

Sigh, never mind. I just discoverd that the database is inconsistent so the
query for ncOrgUnit can never return a match.

Sorry about that

George Lindholm January 28, 2006 at 7:15 AM

Sigh, I think I tried to get out of my office to quickly before submitting this entry. Followup in a day or two

Rejected

Details

Assignee

Reporter

Components

Affects versions

Priority

Created January 28, 2006 at 1:54 AM
Updated December 18, 2013 at 9:20 PM
Resolved December 18, 2013 at 9:20 PM