com.googlecode.jpattern.orm.query.sql
Class SqlExecute
java.lang.Object
com.googlecode.jpattern.orm.query.sql.SqlExecute
- All Implemented Interfaces:
- ISqlExecute
public class SqlExecute
- extends Object
- implements ISqlExecute
- Author:
- Francesco Cina
09/lug/2011
|
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 |
SqlExecute
public SqlExecute(ISessionSqlPerformer session,
String sql)
execute
public void execute()
- Description copied from interface:
ISqlExecute
- execute the sql statement and doesn't return any information about the rows modified.
- Specified by:
execute in interface ISqlExecute
setQueryTimeout
public void setQueryTimeout(int queryTimeout)
- Description copied from interface:
ISqlExecute
- Set the query timeout for the query.
- Specified by:
setQueryTimeout in interface ISqlExecute
getQueryTimeout
public int getQueryTimeout()
- Description copied from interface:
ISqlExecute
- Return the query timeout for the query.
- Specified by:
getQueryTimeout in interface ISqlExecute
Copyright © 2011. All Rights Reserved.