Frameworks, ERAttachment and Migration
Frameworks, ERAttachment and Migration
- Subject: Frameworks, ERAttachment and Migration
- From: James Cicenia <email@hidden>
- Date: Fri, 16 Sep 2011 09:54:06 -0500
Hello -
I am now trying to expand my ERModern App to handle attachments.
1) I have my database model in its own framework. 2) I added the Attachment Framework and then created a relationship to ERAttachment. 3) I created a migrations file from my Model. 4) I turn on migrations in the App's properties file 5) I launch the app :
ERROR er.extensions.appserver.ERXApplication - BlessingsApp failed to start. IllegalArgumentException: EORelationship(): cannot find entity named ERAttachment for destination of relationship mainImage in entity Author. at com.webobjects.eoaccess.EORelationship.<init>(EORelationship.java:773) at com.webobjects.eoaccess.EOEntity.relationships(EOEntity.java:1055)
Shouldn't the migration have created the entity?
What step did I miss? OR... where are the sql scripts? I didn't see them in the frameworks Resources folder.
Thanks James |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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