com.jpattern.orm.session.datasource
Class StatementWrapper

java.lang.Object
  extended by com.jpattern.orm.session.datasource.StatementWrapper
All Implemented Interfaces:
IStatement

public class StatementWrapper
extends Object
implements IStatement

Author:
ufo

Method Summary
 void addBatch(String sql)
           
 void close()
           
 int[] executeBatch()
           
 void setQueryTimeout(int queryTimeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setQueryTimeout

public void setQueryTimeout(int queryTimeout)
                     throws SQLException
Specified by:
setQueryTimeout in interface IStatement
Throws:
SQLException

addBatch

public void addBatch(String sql)
              throws SQLException
Specified by:
addBatch in interface IStatement
Throws:
SQLException

executeBatch

public int[] executeBatch()
                   throws SQLException
Specified by:
executeBatch in interface IStatement
Throws:
SQLException

close

public void close()
           throws SQLException
Specified by:
close in interface IStatement
Throws:
SQLException


Copyright © 2013. All Rights Reserved.