Two EOModel with the Same Entity Name
Two EOModel with the Same Entity Name
- Subject: Two EOModel with the Same Entity Name
- From: "Xia, Wen" <email@hidden>
- Date: Wed, 21 Sep 2005 15:17:46 -0700
- Thread-topic: Two EOModel with the Same Entity Name
Title: Two EOModel with the Same Entity Name
I have two EOModels:
Db2OrgMaint.eomodeld: connects to a DB2 database
OracleOrgMaint.eomodeld: connects to an Oracle database
In both EOModels, there are table named "ORGANIZATION". I added both EOModels to my project. But when I tried to open model OracleOrgMaint from Xcode, I got the following error message:
Exception: NSInvalidArgumentException
Reason: <EOModelGroup: 0x1330c250 (
(OracleOrgMaint, "/Users/fiwxia/WOApps/OrgMaintenance/OracleOrgMaint.eomodeld")
)> addModel: -- The model 'Db2OrgMaint' has entity name conflicts with (Organization) in the model group.
I can still open model Db2OrgMaint probably because I added it to the project first.
I wonder anyone has the same problem? How to resolve it when two model have the same entity name?
Appreciate your advice.
Wen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden