|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbr.ufg.integrate.jdbc.StatementImpl
br.ufg.integrate.jdbc.PreparedStatementImpl
public class PreparedStatementImpl
| Field Summary |
|---|
| Fields inherited from class br.ufg.integrate.jdbc.StatementImpl |
|---|
conn |
| Fields inherited from interface java.sql.Statement |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Fields inherited from interface br.ufg.integrate.util.Constants |
|---|
DB_MAJOR_VERSION, DB_MINOR_VERSION, DRIVER_CLASS, DRIVER_MAJOR_VERSION, DRIVER_MINOR_VERSION, DRIVER_NAME, DRIVER_RELEASE, INTEGRATE_CONFIG_FILE, JDBC_COMPLIANT, JDBC_MAJOR_VERSION, JDBC_MINOR_VERSION, PRODUCT_NAME, PRODUCT_RELEASE, URL_PREFIX |
| Constructor Summary | |
|---|---|
protected |
PreparedStatementImpl(ConnectionImpl con,
PreparedStatement pstm,
Integration i)
Create a new PreparedStatementImpl object. |
| Method Summary | |
|---|---|
void |
addBatch()
Implements method in interface java.sql.PreparedStatement |
void |
clearParameters()
Implements method in interface java.sql.PreparedStatement |
boolean |
execute()
Implements method in interface java.sql.PreparedStatement |
ResultSet |
executeQuery()
Implements method in interface java.sql.PreparedStatement |
int |
executeUpdate()
Implements method in interface java.sql.PreparedStatement |
ResultSetMetaData |
getMetaData()
Implements method in interface java.sql.PreparedStatement |
ParameterMetaData |
getParameterMetaData()
Implements method in interface java.sql.PreparedStatement |
boolean |
isClosed()
Implements method in interface java.sql.PreparedStatement |
boolean |
isPoolable()
Implements method in interface java.sql.PreparedStatement |
boolean |
isWrapperFor(Class iface)
Implements method in interface java.sql.PreparedStatement |
void |
setArray(int i,
Array x)
Implements method in interface java.sql.PreparedStatement |
void |
setAsciiStream(int parameterIndex,
InputStream x)
Implements method in interface java.sql.PreparedStatement |
void |
setAsciiStream(int parameterIndex,
InputStream x,
int length)
Implements method in interface java.sql.PreparedStatement |
void |
setAsciiStream(int parameterIndex,
InputStream x,
long y)
Implements method in interface java.sql.PreparedStatement |
void |
setBigDecimal(int parameterIndex,
BigDecimal x)
Implements method in interface java.sql.PreparedStatement |
void |
setBinaryStream(int parameterIndex,
InputStream x)
Implements method in interface java.sql.PreparedStatement |
void |
setBinaryStream(int parameterIndex,
InputStream x,
int length)
Implements method in interface java.sql.PreparedStatement |
void |
setBinaryStream(int parameterIndex,
InputStream x,
long y)
Implements method in interface java.sql.PreparedStatement |
void |
setBlob(int i,
Blob x)
Implements method in interface java.sql.PreparedStatement |
void |
setBlob(int i,
InputStream x)
Implements method in interface java.sql.PreparedStatement |
void |
setBlob(int i,
InputStream x,
long y)
Implements method in interface java.sql.PreparedStatement |
void |
setBoolean(int parameterIndex,
boolean x)
Implements method in interface java.sql.PreparedStatement |
void |
setByte(int parameterIndex,
byte x)
Implements method in interface java.sql.PreparedStatement |
void |
setBytes(int parameterIndex,
byte[] x)
Implements method in interface java.sql.PreparedStatement |
void |
setCharacterStream(int parameterIndex,
Reader reader)
Implements method in interface java.sql.PreparedStatement |
void |
setCharacterStream(int parameterIndex,
Reader reader,
int length)
Implements method in interface java.sql.PreparedStatement |
void |
setCharacterStream(int parameterIndex,
Reader reader,
long length)
Implements method in interface java.sql.PreparedStatement |
void |
setClob(int i,
Clob x)
Implements method in interface java.sql.PreparedStatement |
void |
setClob(int i,
Reader reader)
Implements method in interface java.sql.PreparedStatement |
void |
setClob(int i,
Reader reader,
long length)
Implements method in interface java.sql.PreparedStatement |
void |
setCursorName(String name)
Implements method in interface java.sql.PreparedStatement |
void |
setDate(int parameterIndex,
Date x)
Implements method in interface java.sql.PreparedStatement |
void |
setDate(int parameterIndex,
Date x,
Calendar cal)
Implements method in interface java.sql.PreparedStatement |
void |
setDouble(int parameterIndex,
double x)
Implements method in interface java.sql.PreparedStatement |
void |
setFloat(int parameterIndex,
float x)
Implements method in interface java.sql.PreparedStatement |
void |
setInt(int parameterIndex,
int x)
Implements method in interface java.sql.PreparedStatement |
void |
setLong(int parameterIndex,
long x)
Implements method in interface java.sql.PreparedStatement |
void |
setNCharacterStream(int parameterIndex,
Reader reader)
Implements method in interface java.sql.PreparedStatement |
void |
setNCharacterStream(int parameterIndex,
Reader reader,
long length)
Implements method in interface java.sql.PreparedStatement |
void |
setNClob(int parameterIndex,
NClob value)
Implements method in interface java.sql.PreparedStatement |
void |
setNClob(int parameterIndex,
Reader reader)
Implements method in interface java.sql.PreparedStatement |
void |
setNClob(int parameterIndex,
Reader reader,
long length)
Implements method in interface java.sql.PreparedStatement |
void |
setNString(int parameterIndex,
String value)
Implements method in interface java.sql.PreparedStatement |
void |
setNull(int parameterIndex,
int sqlType)
Implements method in interface java.sql.PreparedStatement |
void |
setNull(int paramIndex,
int sqlType,
String typeName)
Implements method in interface java.sql.PreparedStatement |
void |
setObject(int parameterIndex,
Object x)
Implements method in interface java.sql.PreparedStatement |
void |
setObject(int parameterIndex,
Object x,
int targetSqlType)
Implements method in interface java.sql.PreparedStatement |
void |
setObject(int parameterIndex,
Object x,
int targetSqlType,
int scale)
Implements method in interface java.sql.PreparedStatement |
void |
setPoolable(boolean flag)
Implements method in interface java.sql.PreparedStatement |
void |
setRef(int i,
Ref x)
Implements method in interface java.sql.PreparedStatement |
void |
setRowId(int parameterIndex,
RowId x)
Implements method in interface java.sql.PreparedStatement |
void |
setShort(int parameterIndex,
short x)
Implements method in interface java.sql.PreparedStatement |
void |
setSQLXML(int parameterIndex,
SQLXML xmlObject)
Implements method in interface java.sql.PreparedStatement |
void |
setString(int parameterIndex,
String x)
Implements method in interface java.sql.PreparedStatement |
void |
setTime(int parameterIndex,
Time x)
Implements method in interface java.sql.PreparedStatement |
void |
setTime(int parameterIndex,
Time x,
Calendar cal)
Implements method in interface java.sql.PreparedStatement |
void |
setTimestamp(int parameterIndex,
Timestamp x)
Implements method in interface java.sql.PreparedStatement |
void |
setTimestamp(int parameterIndex,
Timestamp x,
Calendar cal)
Implements method in interface java.sql.PreparedStatement |
void |
setUnicodeStream(int parameterIndex,
InputStream x,
int length)
Deprecated. |
void |
setURL(int parameterIndex,
URL x)
Implements method in interface java.sql.PreparedStatement |
Object |
unwrap(Class iface)
Implements method in interface java.sql.PreparedStatement |
| Methods inherited from class br.ufg.integrate.jdbc.StatementImpl |
|---|
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, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PreparedStatementImpl(ConnectionImpl con,
PreparedStatement pstm,
Integration i)
throws SQLException
SQLException| Method Detail |
|---|
public void addBatch()
throws SQLException
addBatch in interface PreparedStatementSQLExceptionPreparedStatement.addBatch()
public void clearParameters()
throws SQLException
clearParameters in interface PreparedStatementSQLExceptionPreparedStatement.clearParameters()
public boolean execute()
throws SQLException
execute in interface PreparedStatementSQLExceptionPreparedStatement.execute()
public ResultSet executeQuery()
throws SQLException
executeQuery in interface PreparedStatementSQLExceptionPreparedStatement.executeQuery()
public int executeUpdate()
throws SQLException
executeUpdate in interface PreparedStatementSQLExceptionPreparedStatement.executeUpdate()
public ResultSetMetaData getMetaData()
throws SQLException
getMetaData in interface PreparedStatementSQLExceptionPreparedStatement.getMetaData()
public ParameterMetaData getParameterMetaData()
throws SQLException
getParameterMetaData in interface PreparedStatementSQLExceptionPreparedStatement.getParameterMetaData()
public boolean isClosed()
throws SQLException
isClosed in interface StatementisClosed in class StatementImplSQLExceptionStatement.isClosed()
public boolean isPoolable()
throws SQLException
isPoolable in interface StatementisPoolable in class StatementImplSQLExceptionStatement.isPoolable()
public boolean isWrapperFor(Class iface)
throws SQLException
isWrapperFor in interface WrapperisWrapperFor in class StatementImplSQLExceptionWrapper.isWrapperFor(java.lang.Class>)
public void setArray(int i,
Array x)
throws SQLException
setArray in interface PreparedStatementSQLExceptionPreparedStatement.setArray(int, java.sql.Array)
public void setAsciiStream(int parameterIndex,
InputStream x)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionPreparedStatement.setArray(int, java.sql.Array)
public void setAsciiStream(int parameterIndex,
InputStream x,
int length)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionPreparedStatement.setAsciiStream(int, java.io.InputStream, int)
public void setAsciiStream(int parameterIndex,
InputStream x,
long y)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionPreparedStatement.setAsciiStream(int, java.io.InputStream, int)
public void setBigDecimal(int parameterIndex,
BigDecimal x)
throws SQLException
setBigDecimal in interface PreparedStatementSQLExceptionPreparedStatement.setBigDecimal(int, java.math.BigDecimal)
public void setBinaryStream(int parameterIndex,
InputStream x)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionPreparedStatement.setBinaryStream(int, java.io.InputStream, int)
public void setBinaryStream(int parameterIndex,
InputStream x,
long y)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionPreparedStatement.setBinaryStream(int, java.io.InputStream, int)
public void setBinaryStream(int parameterIndex,
InputStream x,
int length)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionPreparedStatement.setBinaryStream(int, java.io.InputStream, int)
public void setBlob(int i,
Blob x)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionPreparedStatement.setBlob(int, java.sql.Blob)
public void setBlob(int i,
InputStream x)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionPreparedStatement.setBlob(int, java.sql.Blob)
public void setBlob(int i,
InputStream x,
long y)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionPreparedStatement.setBlob(int, java.sql.Blob)
public void setBoolean(int parameterIndex,
boolean x)
throws SQLException
setBoolean in interface PreparedStatementSQLExceptionPreparedStatement.setBoolean(int, boolean)
public void setByte(int parameterIndex,
byte x)
throws SQLException
setByte in interface PreparedStatementSQLExceptionPreparedStatement.setByte(int, byte)
public void setBytes(int parameterIndex,
byte[] x)
throws SQLException
setBytes in interface PreparedStatementSQLExceptionPreparedStatement.setBytes(int, byte[])
public void setCharacterStream(int parameterIndex,
Reader reader,
int length)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionPreparedStatement.setCharacterStream(int, java.io.Reader, int)
public void setCharacterStream(int parameterIndex,
Reader reader)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionPreparedStatement.setCharacterStream(int, java.io.Reader, int)
public void setCharacterStream(int parameterIndex,
Reader reader,
long length)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionPreparedStatement.setCharacterStream(int, java.io.Reader, int)
public void setClob(int i,
Clob x)
throws SQLException
setClob in interface PreparedStatementSQLExceptionPreparedStatement.setClob(int, java.sql.Clob)
public void setClob(int i,
Reader reader)
throws SQLException
setClob in interface PreparedStatementSQLExceptionPreparedStatement.setClob(int, java.sql.Clob)
public void setClob(int i,
Reader reader,
long length)
throws SQLException
setClob in interface PreparedStatementSQLExceptionPreparedStatement.setClob(int, java.sql.Clob)
public void setCursorName(String name)
throws SQLException
setCursorName in interface StatementsetCursorName in class StatementImplSQLExceptionStatement.setCursorName(java.lang.String)
public void setDate(int parameterIndex,
Date x)
throws SQLException
setDate in interface PreparedStatementSQLExceptionPreparedStatement.setDate(int, java.sql.Date)
public void setDate(int parameterIndex,
Date x,
Calendar cal)
throws SQLException
setDate in interface PreparedStatementSQLExceptionPreparedStatement.setDate(int, java.sql.Date)
public void setDouble(int parameterIndex,
double x)
throws SQLException
setDouble in interface PreparedStatementSQLExceptionPreparedStatement.setDouble(int, double)
public void setFloat(int parameterIndex,
float x)
throws SQLException
setFloat in interface PreparedStatementSQLExceptionPreparedStatement.setFloat(int, float)
public void setInt(int parameterIndex,
int x)
throws SQLException
setInt in interface PreparedStatementSQLExceptionPreparedStatement.setInt(int, int)
public void setLong(int parameterIndex,
long x)
throws SQLException
setLong in interface PreparedStatementSQLExceptionPreparedStatement.setLong(int, long)
public void setNCharacterStream(int parameterIndex,
Reader reader)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionPreparedStatement.setNCharacterStream(int, java.io.Reader, long)
public void setNCharacterStream(int parameterIndex,
Reader reader,
long length)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionPreparedStatement.setNCharacterStream(int, java.io.Reader, long)
public void setNClob(int parameterIndex,
NClob value)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionPreparedStatement.setNClob(int, java.sql.NClob)
public void setNClob(int parameterIndex,
Reader reader)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionPreparedStatement.setNClob(int, java.sql.NClob)
public void setNClob(int parameterIndex,
Reader reader,
long length)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionPreparedStatement.setNClob(int, java.sql.NClob)
public void setNString(int parameterIndex,
String value)
throws SQLException
setNString in interface PreparedStatementSQLExceptionPreparedStatement.setNString(int, java.lang.String)
public void setNull(int parameterIndex,
int sqlType)
throws SQLException
setNull in interface PreparedStatementSQLExceptionPreparedStatement.setNull(int, int)
public void setNull(int paramIndex,
int sqlType,
String typeName)
throws SQLException
setNull in interface PreparedStatementSQLExceptionPreparedStatement.setNull(int, int)
public void setObject(int parameterIndex,
Object x)
throws SQLException
setObject in interface PreparedStatementSQLExceptionPreparedStatement.setObject(int, java.lang.Object, int)
public void setObject(int parameterIndex,
Object x,
int targetSqlType)
throws SQLException
setObject in interface PreparedStatementSQLExceptionPreparedStatement.setObject(int, java.lang.Object, int)
public void setObject(int parameterIndex,
Object x,
int targetSqlType,
int scale)
throws SQLException
setObject in interface PreparedStatementSQLExceptionPreparedStatement.setObject(int, java.lang.Object, int)
public void setPoolable(boolean flag)
throws SQLException
setPoolable in interface StatementsetPoolable in class StatementImplSQLExceptionStatement.setPoolable(boolean)
public void setRef(int i,
Ref x)
throws SQLException
setRef in interface PreparedStatementSQLExceptionPreparedStatement.setRef(int, java.sql.Ref)
public void setRowId(int parameterIndex,
RowId x)
throws SQLException
setRowId in interface PreparedStatementSQLExceptionPreparedStatement.setRowId(int, java.sql.RowId)
public void setShort(int parameterIndex,
short x)
throws SQLException
setShort in interface PreparedStatementSQLExceptionPreparedStatement.setShort(int, short)
public void setSQLXML(int parameterIndex,
SQLXML xmlObject)
throws SQLException
setSQLXML in interface PreparedStatementSQLExceptionPreparedStatement.setSQLXML(int, java.sql.SQLXML)
public void setString(int parameterIndex,
String x)
throws SQLException
setString in interface PreparedStatementSQLExceptionPreparedStatement.setString(int, java.lang.String)
public void setTime(int parameterIndex,
Time x)
throws SQLException
setTime in interface PreparedStatementSQLExceptionPreparedStatement.setTime(int, java.sql.Time)
public void setTime(int parameterIndex,
Time x,
Calendar cal)
throws SQLException
setTime in interface PreparedStatementSQLExceptionPreparedStatement.setTime(int, java.sql.Time)
public void setTimestamp(int parameterIndex,
Timestamp x)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionPreparedStatement.setTimestamp(int, java.sql.Timestamp)
public void setTimestamp(int parameterIndex,
Timestamp x,
Calendar cal)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionPreparedStatement.setTimestamp(int, java.sql.Timestamp)
public void setUnicodeStream(int parameterIndex,
InputStream x,
int length)
throws SQLException
setUnicodeStream in interface PreparedStatementSQLExceptionPreparedStatement.setUnicodeStream(int, java.io.InputStream, int)
public void setURL(int parameterIndex,
URL x)
throws SQLException
setURL in interface PreparedStatementSQLExceptionPreparedStatement.setURL(int, java.net.URL)
public Object unwrap(Class iface)
throws SQLException
unwrap in interface Wrapperunwrap in class StatementImplSQLExceptionWrapper.unwrap(java.lang.Class)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||