public class DistributedPreparedStatement extends DistributedTemplate<java.sql.PreparedStatement> implements java.sql.PreparedStatement
con, master, stmts| Constructor and Description |
|---|
DistributedPreparedStatement(DistributedConnection c) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
clearParameters() |
void |
closeOnCompletion() |
boolean |
execute() |
java.sql.ResultSet |
executeQuery() |
int |
executeUpdate() |
java.sql.ResultSetMetaData |
getMetaData() |
java.sql.ParameterMetaData |
getParameterMetaData() |
boolean |
isCloseOnCompletion() |
void |
setArray(int i,
java.sql.Array x) |
void |
setAsciiStream(int arg0,
java.io.InputStream arg1) |
void |
setAsciiStream(int arg0,
java.io.InputStream arg1,
int arg2) |
void |
setAsciiStream(int arg0,
java.io.InputStream arg1,
long arg2) |
void |
setBigDecimal(int arg0,
java.math.BigDecimal arg1) |
void |
setBinaryStream(int arg0,
java.io.InputStream arg1) |
void |
setBinaryStream(int arg0,
java.io.InputStream arg1,
int arg2) |
void |
setBinaryStream(int arg0,
java.io.InputStream arg1,
long arg2) |
void |
setBlob(int arg0,
java.sql.Blob arg1) |
void |
setBlob(int arg0,
java.io.InputStream arg1) |
void |
setBlob(int arg0,
java.io.InputStream arg1,
long arg2) |
void |
setBoolean(int arg0,
boolean arg1) |
void |
setByte(int arg0,
byte arg1) |
void |
setBytes(int arg0,
byte[] arg1) |
void |
setCharacterStream(int arg0,
java.io.Reader arg1) |
void |
setCharacterStream(int arg0,
java.io.Reader arg1,
int arg2) |
void |
setCharacterStream(int arg0,
java.io.Reader arg1,
long arg2) |
void |
setClob(int arg0,
java.sql.Clob arg1) |
void |
setClob(int arg0,
java.io.Reader arg1) |
void |
setClob(int arg0,
java.io.Reader arg1,
long arg2) |
void |
setDate(int arg0,
java.sql.Date arg1) |
void |
setDate(int arg0,
java.sql.Date arg1,
java.util.Calendar arg2) |
void |
setDouble(int arg0,
double arg1) |
void |
setFloat(int arg0,
float arg1) |
void |
setInt(int arg0,
int arg1) |
void |
setLong(int arg0,
long arg1) |
void |
setNCharacterStream(int arg0,
java.io.Reader arg1) |
void |
setNCharacterStream(int arg0,
java.io.Reader arg1,
long arg2) |
void |
setNClob(int arg0,
java.sql.NClob arg1) |
void |
setNClob(int arg0,
java.io.Reader arg1) |
void |
setNClob(int arg0,
java.io.Reader arg1,
long arg2) |
void |
setNString(int arg0,
java.lang.String arg1) |
void |
setNull(int arg0,
int arg1) |
void |
setNull(int arg0,
int arg1,
java.lang.String arg2) |
void |
setObject(int arg0,
java.lang.Object arg1) |
void |
setObject(int arg0,
java.lang.Object arg1,
int arg2) |
void |
setObject(int arg0,
java.lang.Object arg1,
int arg2,
int arg3) |
void |
setRef(int arg0,
java.sql.Ref arg1) |
void |
setRowId(int arg0,
java.sql.RowId arg1) |
void |
setShort(int arg0,
short arg1) |
void |
setSQLXML(int arg0,
java.sql.SQLXML arg1) |
void |
setString(int arg0,
java.lang.String arg1) |
void |
setTime(int arg0,
java.sql.Time arg1) |
void |
setTime(int arg0,
java.sql.Time arg1,
java.util.Calendar arg2) |
void |
setTimestamp(int arg0,
java.sql.Timestamp arg1) |
void |
setTimestamp(int arg0,
java.sql.Timestamp arg1,
java.util.Calendar arg2) |
void |
setUnicodeStream(int arg0,
java.io.InputStream arg1,
int arg2) |
void |
setURL(int arg0,
java.net.URL arg1) |
add, addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, isWrapperFor, iterator, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutpublic DistributedPreparedStatement(DistributedConnection c)
public void clearParameters()
throws java.sql.SQLException
clearParameters in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
execute in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSet executeQuery()
throws java.sql.SQLException
executeQuery in interface java.sql.PreparedStatementexecuteQuery in class DistributedTemplate<java.sql.PreparedStatement>java.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
executeUpdate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
getParameterMetaData in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setArray(int i,
java.sql.Array x)
throws java.sql.SQLException
setArray in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int arg0,
java.io.InputStream arg1,
int arg2)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBigDecimal(int arg0,
java.math.BigDecimal arg1)
throws java.sql.SQLException
setBigDecimal in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int arg0,
java.io.InputStream arg1,
int arg2)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int arg0,
java.sql.Blob arg1)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBoolean(int arg0,
boolean arg1)
throws java.sql.SQLException
setBoolean in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setByte(int arg0,
byte arg1)
throws java.sql.SQLException
setByte in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBytes(int arg0,
byte[] arg1)
throws java.sql.SQLException
setBytes in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int arg0,
java.io.Reader arg1,
int arg2)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int arg0,
java.sql.Clob arg1)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDate(int arg0,
java.sql.Date arg1)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDate(int arg0,
java.sql.Date arg1,
java.util.Calendar arg2)
throws java.sql.SQLException
setDate in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDouble(int arg0,
double arg1)
throws java.sql.SQLException
setDouble in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setFloat(int arg0,
float arg1)
throws java.sql.SQLException
setFloat in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setInt(int arg0,
int arg1)
throws java.sql.SQLException
setInt in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setLong(int arg0,
long arg1)
throws java.sql.SQLException
setLong in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNull(int arg0,
int arg1)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNull(int arg0,
int arg1,
java.lang.String arg2)
throws java.sql.SQLException
setNull in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int arg0,
java.lang.Object arg1)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int arg0,
java.lang.Object arg1,
int arg2)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int arg0,
java.lang.Object arg1,
int arg2,
int arg3)
throws java.sql.SQLException
setObject in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setRef(int arg0,
java.sql.Ref arg1)
throws java.sql.SQLException
setRef in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setShort(int arg0,
short arg1)
throws java.sql.SQLException
setShort in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setString(int arg0,
java.lang.String arg1)
throws java.sql.SQLException
setString in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTime(int arg0,
java.sql.Time arg1)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTime(int arg0,
java.sql.Time arg1,
java.util.Calendar arg2)
throws java.sql.SQLException
setTime in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int arg0,
java.sql.Timestamp arg1)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int arg0,
java.sql.Timestamp arg1,
java.util.Calendar arg2)
throws java.sql.SQLException
setTimestamp in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setURL(int arg0,
java.net.URL arg1)
throws java.sql.SQLException
setURL in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setUnicodeStream(int arg0,
java.io.InputStream arg1,
int arg2)
throws java.sql.SQLException
setUnicodeStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int arg0,
java.io.InputStream arg1)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int arg0,
java.io.InputStream arg1,
long arg2)
throws java.sql.SQLException
setAsciiStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int arg0,
java.io.InputStream arg1)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int arg0,
java.io.InputStream arg1,
long arg2)
throws java.sql.SQLException
setBinaryStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int arg0,
java.io.InputStream arg1)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int arg0,
java.io.InputStream arg1,
long arg2)
throws java.sql.SQLException
setBlob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int arg0,
java.io.Reader arg1)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int arg0,
java.io.Reader arg1,
long arg2)
throws java.sql.SQLException
setCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int arg0,
java.io.Reader arg1)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int arg0,
java.io.Reader arg1,
long arg2)
throws java.sql.SQLException
setClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNCharacterStream(int arg0,
java.io.Reader arg1)
throws java.sql.SQLException
setNCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNCharacterStream(int arg0,
java.io.Reader arg1,
long arg2)
throws java.sql.SQLException
setNCharacterStream in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int arg0,
java.sql.NClob arg1)
throws java.sql.SQLException
setNClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int arg0,
java.io.Reader arg1)
throws java.sql.SQLException
setNClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int arg0,
java.io.Reader arg1,
long arg2)
throws java.sql.SQLException
setNClob in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNString(int arg0,
java.lang.String arg1)
throws java.sql.SQLException
setNString in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setRowId(int arg0,
java.sql.RowId arg1)
throws java.sql.SQLException
setRowId in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setSQLXML(int arg0,
java.sql.SQLXML arg1)
throws java.sql.SQLException
setSQLXML in interface java.sql.PreparedStatementjava.sql.SQLExceptionpublic boolean isCloseOnCompletion()
throws java.sql.SQLException
isCloseOnCompletion in interface java.sql.StatementisCloseOnCompletion in class DistributedTemplate<java.sql.PreparedStatement>java.sql.SQLExceptionpublic void closeOnCompletion()
throws java.sql.SQLException
closeOnCompletion in interface java.sql.StatementcloseOnCompletion in class DistributedTemplate<java.sql.PreparedStatement>java.sql.SQLExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.