Hi Felix, http://www.mail-archive.com/[email protected]/msg05985.html
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. Hope that answers what doDelete is supposed to do. Though that thread was started in January.... Good Luck, Derick ----- Original Message ----- From: "Felix Sima" <[EMAIL PROTECTED]> To: "Turbine Torque Users List" <[EMAIL PROTECTED]> Sent: Saturday, May 11, 2002 4:43 AM Subject: RE: Torque 3.0 beta 2 released > Hello. > > I had two problems : > > 1. "You must specify KeyDef attributes for this TableDataSet in order to > delete a Record." said my error message. > > But after I have read throughout "turbine-user" list, I finally > succeeded to get rid of this one. > ( I didn't specify a primary key for all tables ... ) > > 2. I am still not able to properly use > doDelete( new Criteria( ) ), > which I suppose should delete ALL records from > my table. > But I also found a patch for this problem on the above > mailing list. > I am trying to fix this problem now. > > Thank you. > > On Fri, 10 May 2002, Ryan Campbell wrote: > > > Absolutely. My system uses it unrelentingly. What error message are you > > getting? What is your configuration (dbms, schema.xml, etc)? > > > > Ryan > > > > -----Original Message----- > > From: Felix Sima [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 10, 2002 4:27 AM > > To: Turbine Torque Users List > > Subject: Re: Torque 3.0 beta 2 released > > > > > > Hi all. > > > > Up to now, I was not able to use > > XXXPeer.doDelete( ... ) successfully, > > not even with this new release. > > Have anyone of you succeeded ( with this or an older version ) ? > > > > Thank you. > > Felix. > > > > -- > 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]>
