For myself I keep the entity name and the class name the same and have
them match the table name as much as possible including singular/
plural state. I find it keeps things easy to remember and reduces
mistakes. I also prefix my entity names (and class names) with "Db"
just because I like my names for classes to somewhat match their
purpose.
So, if I had a table named "sites" then I would have an entitiy name
of "DbSites" and a class name (including package) of something like
"com.rhodes.eo.DbSites".
That's just my style though. Everyone has their own. ;)
On Oct 13, 2009, at 7:43 PM, Lon Varscsak wrote:
If you have a table named "sites" what do you name your entity and the
corresponding class? Sites or Site?
-Lon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/grhodes%40thissmallworld.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]