public class SimplePreparedStatement extends AbstractPreparedBatchStatement
_statement
Constructor and Description |
---|
SimplePreparedStatement(String sql,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
void |
addBatch() |
void |
addValue(Object value,
DataType dataType) |
void |
clearBatch() |
int |
executeBatch() |
close
public SimplePreparedStatement(String sql, Connection connection) throws SQLException
SQLException
public void addValue(Object value, DataType dataType) throws TypeCastException, SQLException
TypeCastException
SQLException
public void addBatch() throws SQLException
SQLException
public int executeBatch() throws SQLException
SQLException
public void clearBatch() throws SQLException
SQLException
Copyright © 2002-2012. All Rights Reserved.