[prev in list] [next in list] [prev in thread] [next in thread]
List: turbine-torque-user
Subject: Re: R: doDelete(Object) doesn't work ?
From: "Lionel PASQUIER" <lpasquier () omnikles ! com>
Date: 2004-03-31 15:06:56
Message-ID: C0D145754FFD7A488BF041118E88DA273E5363 () os-be-adm-sr01 ! oks
[Download RAW message or body]
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 : giulio.vezzelli@infolog.it
>
>
>
>
> > -----Messaggio originale-----
> > Da: Giulio Vezzelli
> > Inviato: mercoledì 3 dicembre 2003 10.59
> > A: torque-user@db.apache.org
> > 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 : giulio.vezzelli@infolog.it
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic