ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme J Sweeney <ibatis.u...@gjsweeney.com>
Subject Re: Delete statements cannot be executed as a query
Date Wed, 30 Apr 2008 09:54:06 GMT
On Wed, 30 Apr 2008, supriya .pelluru wrote:

> i am getting this error
> Delete statements cannot be executed as a query.
> at
> com.ibatis.sqlmap.engine.mapping.statement.DeleteStatement.executeQueryForObject(DeleteStatement.java:33)

You're using queryForObject instead of delete.

-- 
Graeme -

Mime
View raw message