com.jpattern.orm.query.update
Interface UpdateQueryCommon

All Superinterfaces:
QueryRoot, RenderableSqlQuery
All Known Subinterfaces:
UpdateQuery, UpdateSet, UpdateWhere
All Known Implementing Classes:
UpdateQueryOrm, UpdateSetImpl, UpdateWhereImpl

public interface UpdateQueryCommon
extends QueryRoot, RenderableSqlQuery

Author:
Francesco Cina 10/lug/2011

Method Summary
 int getQueryTimeout()
          Return the query timeout for the query.
 int perform()
          Perform the update and return the number of affected rows.
 UpdateQuery setQueryTimeout(int queryTimeout)
          Set the query timeout for the query.
 
Methods inherited from interface com.jpattern.orm.query.RenderableSqlQuery
appendValues, renderSql, renderSql
 

Method Detail

perform

int perform()
Perform the update and return the number of affected rows.

Returns:

setQueryTimeout

UpdateQuery setQueryTimeout(int queryTimeout)
Set the query timeout for the query.


getQueryTimeout

int getQueryTimeout()
Return the query timeout for the query.



Copyright © 2013. All Rights Reserved.