org.apache.tuscany.das.rdb.impl
Class Statement
java.lang.Object
org.apache.tuscany.das.rdb.impl.Statement
public class Statement
- extends java.lang.Object
Constructor Summary |
Statement(java.lang.String sqlString)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queryString
protected final java.lang.String queryString
jdbcConnection
protected ConnectionImpl jdbcConnection
Statement
public Statement(java.lang.String sqlString)
executeQuery
public java.util.List executeQuery(ParametersExtendedImpl parameters)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
executeCall
public java.util.List executeCall(ParametersExtendedImpl parameters)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
executeUpdateCall
public void executeUpdateCall(ParametersExtendedImpl parameters)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
executeUpdate
public int executeUpdate(ParametersExtendedImpl parameters,
java.lang.String[] generatedKeys)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
executeUpdate
public int executeUpdate(ParametersExtendedImpl parameters)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setParameters
protected java.sql.PreparedStatement setParameters(java.sql.PreparedStatement ps,
ParametersExtendedImpl parameters)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setConnection
public void setConnection(ConnectionImpl jdbcConnection)
getConnection
public ConnectionImpl getConnection()
getGeneratedKey
public java.lang.Integer getGeneratedKey()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
enablePaging
protected void enablePaging()
close
public void close()
Copyright © 2007 Apache Software Foundation. All Rights Reserved.