You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by fanyun <yu...@vtradex.com> on 2001/10/08 04:20:02 UTC

doDelete problem for BasePeer

Hi all:

I am using tdk 3.0a1.    when we want do a:      

	delete from a where a.a < 8  and a.a> 3

I find that all the    a.a > 3 record was deleted.   


I debug it   Jbuilder and add watch for :         crit.toString,    it seems where where clause is OK.


I carefully examing the BasePeer codes and find   doSelect and doDelete use difference way to build the where clause.   The doSelect way is correct, and doDelete has some problem.


Has this problem been fixed in 2.x?   So that may be I can copy the 2.x Base Peer into my working enviroment.



Regards


fanyun