• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Two EOModel with the Same Entity Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Two EOModel with the Same Entity Name
      • From: Chuck Hill <email@hidden>
  • Prev by Date: WOActiveImage Rollovers?
  • Next by Date: Re: Two EOModel with the Same Entity Name
  • Previous by thread: WOActiveImage Rollovers?
  • Next by thread: Re: Two EOModel with the Same Entity Name
  • Index(es):
    • Date
    • Thread