com.jpattern.orm.query.sql
Class PlainSqlExecuteQuery

java.lang.Object
  extended by com.jpattern.orm.query.sql.PlainSqlExecuteQuery
All Implemented Interfaces:
QueryRoot, SqlExecuteQuery

public class PlainSqlExecuteQuery
extends Object
implements SqlExecuteQuery

Author:
Francesco Cina 09/lug/2011

Constructor Summary
PlainSqlExecuteQuery(SessionSqlPerformer session, String sql)
           
 
Method Summary
 void execute()
          execute the sql statement and doesn't return any information about the rows modified.
 int getQueryTimeout()
          Return the query timeout for the query.
 void setQueryTimeout(int queryTimeout)
          Set the query timeout for the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainSqlExecuteQuery

public PlainSqlExecuteQuery(SessionSqlPerformer session,
                            String sql)
Method Detail

execute

public void execute()
Description copied from interface: SqlExecuteQuery
execute the sql statement and doesn't return any information about the rows modified.

Specified by:
execute in interface SqlExecuteQuery

setQueryTimeout

public void setQueryTimeout(int queryTimeout)
Description copied from interface: SqlExecuteQuery
Set the query timeout for the query.

Specified by:
setQueryTimeout in interface SqlExecuteQuery

getQueryTimeout

public int getQueryTimeout()
Description copied from interface: SqlExecuteQuery
Return the query timeout for the query.

Specified by:
getQueryTimeout in interface SqlExecuteQuery


Copyright © 2013. All Rights Reserved.