Re: Entity Modeler class name issue
Re: Entity Modeler class name issue
- Subject: Re: Entity Modeler class name issue
- From: Travis Britt <email@hidden>
- Date: Mon, 29 Sep 2008 20:41:29 -0400
I think you want to edit your .eogen file to have your generated EO classes extend ERXGenericRecord. In the Defines section set EOGenericRecord to er.extensions.eof.ERXGenericRecord.
tb
On Sep 29, 2008, at 7:19 PM, Andrew R. Kinnie wrote: I am attempting to rebuild an old app as a wonder app. . . still. (admittedly I only put a couple hours in every few weeks). Now I am attempting to build what I have done so far, and am getting errors with the classes previously generated by EOModeler. I changed the generated classes to extend ERXComponent and added:
import er.extensions.components.ERXComponent;
Here are the warnings followed by the exception I get while attempting to login using one of these generated EO classes. Any insight or help will be appreciated.
Sep 29 18:46:29 myApp[58089] WARN er.extensions.eof.ERXModelGroup - Clearing previous class descriptions Sep 29 18:46:29 myApp[58089] WARN er.extensions.eof.ERXModelGroup - The EOModel 'erprototypes' has an empty connection dictionary. Sep 29 18:46:30 myApp[58089] WARN er.extensions.eof.ERXEntityClassDescription - Invalid class name for entity: MyEOClass exception: java.lang.ClassNotFoundException: MyEOClass using com.webobjects.eocontrol.EOGenericRecord instead
...
Sep 29 18:46:36 MyApp[58089] WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: java.lang.ClassCastException: com.webobjects.eocontrol.EOGenericRecord
|
_______________________________________________
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