Stephen Haberman wrote:
> We'll probably also need to patch ObjectWithManager.vm:

done


> 
> cvs diff ObjectWithManager.vm (in directory
> C:\cvs\jakarta-turbine-torque\src\templates\om\)
> Index: ObjectWithManager.vm
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-turbine-torque/src/templates/om/ObjectWithManage
> r.vm,v
> retrieving revision 1.10
> diff -r1.10 ObjectWithManager.vm
> 1102c1102
> <         return getPrimaryKey();
> ---
> 
>>        return null;
> 
> 
> I'm pretty sure this is what was patched in Object.vm; Marty, could you
> intervene if changed the wrong thing?
> 
> Also, why is there an ObjectWithManager.vm in the first place? Was it
> deemed impossible to have the manager stuff interlaced within the
> Object.vm? Or perhaps not wanted because the manager stuff is in flux
> and we don't want to pollute Object.vm before the manager stuff matures?
> That'd make sense.
> 
> Thanks,
> Stephen
> 
> 
>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, June 13, 2002 1:25 PM
>>To: [EMAIL PROTECTED]
>>Subject: cvs commit: jakarta-turbine-torque/src/templates/om Object.vm
>>
>>mpoeschl    2002/06/13 11:25:23
>>
>>  Modified:    src/templates/om Object.vm
>>  Log:
>>  patch by Marty Phee <[EMAIL PROTECTED]>
>>  Here is a dif file for a project I found in the Object.vm file.  If
>>  there are no primary keys defined for a table you'll get a recursive
>>  call to getPrimaryKey.
>>
>>  Revision  Changes    Path
>>  1.33      +1 -1
> 
> jakarta-turbine-torque/src/templates/om/Object.vm
> 
>>  Index: Object.vm
>>
>>=====================================================
>>==============
>>  RCS file:
> 
> /home/cvs/jakarta-turbine-torque/src/templates/om/Object.vm,v
> 
>>  retrieving revision 1.32
>>  retrieving revision 1.33
>>  diff -u -r1.32 -r1.33
>>  --- Object.vm       13 Jun 2002 18:09:15 -0000      1.32
>>  +++ Object.vm       13 Jun 2002 18:25:23 -0000      1.33
>>  @@ -1076,7 +1076,7 @@
>>       #end
>>           return comboPK;
>>   #else
>>  -        return getPrimaryKey();
>>  +        return null;
>>   #end
>>       }
>>
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:turbine-torque-dev-
>>[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:turbine-torque-dev-
>>[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to