A couple of issues I've faced
A couple of issues I've faced
- Subject: A couple of issues I've faced
- From: John Baldwin <email@hidden>
- Date: Sat, 26 Feb 2011 09:10:12 -0800
I'm not sure if I'm doing things incorrectly, but thought I'd share my experience to see if others can guide me.
First, I reverse engineered from an existing database. It worked well, except the class name for the entities was com.webobjects.EOGenericRecord. That had me stumped for a bit, because it made sense if that meant "class to extend." Now that I know what the field is for in the Modeler.
And I've been struggling to get eogenerator to create my entity classes in the destination I want. I finally just created them in the "default" package and refactored them into my <base package>.eo package. At one point, it even created the Entity.java file in one package and the _Entity.java file in another package. So I'm not sure if I'm doing this right. But in the getting started video, the files were created in the default package and refactored.
Finally, I made a binding to a property in my Main component called "aCustomer" and then had the code auto-generated by command-clicking. Unfortunately, it created a method called setaCustomer (instead of setACustomer) which threw a takeValueForKey exception.
John
_______________________________________________
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