Nissim Karpenstein wrote:
>
>
> So what I'm getting at is that there's no way for ParameterParser to know
> from the Bean passed to setProperties, what is the ID. Because each class
> has a different method for getiing the ID, like getContactId or
> getCorrespondenceId. So can we make the Generator put in a method that will
> return int for getId, and will call the accessor method for the primary key.
>
How about removing the private primarykey from the generated DO and just
calling setId(v) from primaryKey.set(v), etc, does that work here? I
thought BaseObject already had methods to return the Id as various
types.
~Eric
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]