Faults
Michael Deninger <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I wondered if someone could explain a difficulty I am having that I cannot figure out. I have two EOModels that I have created a relationship between. Because I can write to only one of the databases, I am creating a to- one relationship to a record in the read-only database (user) that I can then extend (workingUser). user --- workingUser I create the "workingUser" manually (using a WODisplayGroup insert command) and manually assign the foreign key of userID into it (this key is accessible in workingUser.java) . This works fine except...the relationship back to user doesn't fault immediately. If I come back later, it faults properly. Example: workingUser.user().lastName() doesn't return a value immediately after creation but does if I come back to this record later. so: Question... Is it possible to force the newly created "workingUser" object to fetch data from the relationship? If so, how would one accomplish that? Thanks, Mike