Re: how to set WOLips (veogenerator) parentClassName?
Re: how to set WOLips (veogenerator) parentClassName?
- Subject: Re: how to set WOLips (veogenerator) parentClassName?
- From: Mike Schrag <email@hidden>
- Date: Fri, 21 Nov 2008 12:52:56 -0500
On Nov 21, 2008, at 12:45 PM, Jonathan 'Wolf' Rentzsch wrote:
I'm trying to implement Pierce Wetter's excellent count-of-to-many-
destination-without-loading-the-rows idea:
<http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading
>
I agree it's a better idea to put qualifierForRelationshipWithKey()
and countForRelationship() into a common entity superclass, but I
can't get WOLips (veogenerator) to play along.
In my framework's .eogen file I've set the following define:
Name Value
--------------- ---------------
parentClassName JRGenericRecord
If you're using the mostly stock templates, you would set the eogen
var "EOGenericRecord" to JRGenericRecord. parentClassName is actually
a field on EntityModeler's EOEntity class and is actually intended for
some custom parent class overrides. You would set that in Entity
Modeler (which writes that value into the userInfo).
ms
_______________________________________________
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