Ok.  After I'm done writing my tutorial, I'll try to retrofit doDelete()
to work like doSelect() and doUpdate().

Thanks,
Pete

On Thu, Jan 24, 2002 at 08:57:16AM -0800, John McNally wrote:
> The doDelete method is very limited.  It looks at the criteria for a
> primary key and then deletes the single row referenced by that pk.  Long
> ago, doUpdate worked similarly.  It was modified so that the where
> clause was built similarly to the doSelect method.  doDelete could use
> the same overhaul, but no one has ever taken the time to do it.  If
> someone does, feel free to remove the cascading code as it very likely
> does not work anyway, and recoding will be easier without it.  Until
> then BasePeer.executeStatement is your best bet for deletions.

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

Reply via email to