I got the same problem: the doDelete(obj) might generate a screwed up SQL request because of a binary field.
Isn't it a bug to take care of? Lionel Giulio Vezzelli wrote: > I just found the solution. > > xxxxPeer.doDelete(myBusinessObject.getPrimaryKey()) > > Works fine. > > I think doDelete(obj) didn't work because it tried to build a where clause with the > object fields, and one of the fields got screwed up because of special characters in > it. > > Giulio Vezzelli > Infolog S.r.l. > Via Alfieri, 28 > Modena - 41100 > Telefono : +39-059-822446 > Sito web : http://www.infolog.it > E-mail : [EMAIL PROTECTED] > > > > >>-----Messaggio originale----- >>Da: Giulio Vezzelli >>Inviato: mercoled� 3 dicembre 2003 10.59 >>A: [EMAIL PROTECTED] >>Oggetto: doDelete(Object) doesn't work ? >> >>Hi, >> >> I tried to use xxxxPeer.doDelete(myBusinessObject), but >>it doesn't seem to work. >>I see a doDelete debug output in Tomcat's console, which >>specifies a where clause with all that objects' fields, but >>the object isn't deleted. >> >>Doesn't it work ? >> >>which doDelete does effectively work ?!? >> >> >>Thanks!! >> >>Giulio Vezzelli >>Infolog S.r.l. >>Via Alfieri, 28 >>Modena - 41100 >>Telefono : +39-059-822446 >>Sito web : http://www.infolog.it <http://www.infolog.it/> >>E-mail : [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
