org.apache.tuscany.das.rdb.impl
Class Statement
java.lang.Object
org.apache.tuscany.das.rdb.impl.Statement
public class Statement
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queryString
protected final QueryString queryString
jdbcConnection
protected ConnectionImpl jdbcConnection
Statement
public Statement(String sqlString)
executeQuery
public ResultSet executeQuery(Parameters parameters)
throws SQLException
- Throws:
SQLException
executeCall
public ResultSet executeCall(Parameters parameters)
throws SQLException
- Throws:
SQLException
executeUpdateCall
public void executeUpdateCall(Parameters parameters)
throws SQLException
- Throws:
SQLException
executeUpdate
public int executeUpdate(Parameters parameters)
throws SQLException
- TODO - We need to look at using specific ps.setXXX methods when a type
has been specified and try setObject otherwise.
- Throws:
SQLException
setParameters
protected PreparedStatement setParameters(PreparedStatement ps,
Parameters parameters)
throws SQLException
- Throws:
SQLException
setConnection
public void setConnection(ConnectionImpl jdbcConnection)
getConnection
public ConnectionImpl getConnection()
getGeneratedKey
public Integer getGeneratedKey()
throws SQLException
- Throws:
SQLException
enablePaging
protected void enablePaging()
close
public void close()
-