one to one relation across models
"Pierre Gilquin" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
I have a one to one relation accross 2 eomodels. Class A and relation are defined in the first model. the relation points to a class B defined in a second model. The 2 model refers to differents databases. Everything works fine, I can create relation between the 2 classes. But if the server is restarted, I have the following exception in my Java Client with already created relation : Caused by: java.lang.IllegalStateException: Server exception: The object with globalID _EOIntegralKeyGlobalID[SubstanceActive (java.lang.Integer)16823] could not be found in the database. This could be result of a referential integrity problem with the database. An empty fault could not be created because the object's class could not be determined (e.g. the GID is temporary or it is for an abstract entity). It's like WO don't remember that the foreign id belongs to a class in an other model. What can I do to refresh his "memory" ? Thanks in advance. Pierre Gilquin _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev