db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@collab.net>
Subject Re: Peer.doDelete() is a void instead of an int
Date Wed, 25 Jun 2003 19:33:23 GMT
Graham Leggett <minfrin@sharp.fm> writes:

> Hi all,
> 
> The BasePeer.doDelete() method returns void, while
> PreparedStatement.executeUpdate() returns an int containing the number
> of rows that were "touched" by the update.
> 
> 
> Can this be changed at some point to return int instead of void?

I looked at CVS HEAD, and it appears that the row-centric semantics of
PreparedStatement.executeUpdate() may differ from those of
BasePeer.doDelete() (which appear to be more object-centric).
-- 

Daniel Rall

Mime
View raw message