|
|||||||||
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 PreparedStatement
SQLException
PreparedStatement.addBatch()
public void clearParameters() throws SQLException
clearParameters
in interface PreparedStatement
SQLException
PreparedStatement.clearParameters()
public boolean execute() throws SQLException
execute
in interface PreparedStatement
SQLException
PreparedStatement.execute()
public ResultSet executeQuery() throws SQLException
executeQuery
in interface PreparedStatement
SQLException
PreparedStatement.executeQuery()
public int executeUpdate() throws SQLException
executeUpdate
in interface PreparedStatement
SQLException
PreparedStatement.executeUpdate()
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface PreparedStatement
SQLException
PreparedStatement.getMetaData()
public ParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData
in interface PreparedStatement
SQLException
PreparedStatement.getParameterMetaData()
public boolean isClosed() throws SQLException
isClosed
in interface Statement
isClosed
in class StatementImpl
SQLException
Statement.isClosed()
public boolean isPoolable() throws SQLException
isPoolable
in interface Statement
isPoolable
in class StatementImpl
SQLException
Statement.isPoolable()
public boolean isWrapperFor(Class iface) throws SQLException
isWrapperFor
in interface Wrapper
isWrapperFor
in class StatementImpl
SQLException
Wrapper.isWrapperFor(java.lang.Class>)
public void setArray(int i, Array x) throws SQLException
setArray
in interface PreparedStatement
SQLException
PreparedStatement.setArray(int, java.sql.Array)
public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
PreparedStatement.setArray(int, java.sql.Array)
public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
PreparedStatement.setAsciiStream(int, java.io.InputStream, int)
public void setAsciiStream(int parameterIndex, InputStream x, long y) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
PreparedStatement.setAsciiStream(int, java.io.InputStream, int)
public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException
setBigDecimal
in interface PreparedStatement
SQLException
PreparedStatement.setBigDecimal(int, java.math.BigDecimal)
public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
PreparedStatement.setBinaryStream(int, java.io.InputStream, int)
public void setBinaryStream(int parameterIndex, InputStream x, long y) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
PreparedStatement.setBinaryStream(int, java.io.InputStream, int)
public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
PreparedStatement.setBinaryStream(int, java.io.InputStream, int)
public void setBlob(int i, Blob x) throws SQLException
setBlob
in interface PreparedStatement
SQLException
PreparedStatement.setBlob(int, java.sql.Blob)
public void setBlob(int i, InputStream x) throws SQLException
setBlob
in interface PreparedStatement
SQLException
PreparedStatement.setBlob(int, java.sql.Blob)
public void setBlob(int i, InputStream x, long y) throws SQLException
setBlob
in interface PreparedStatement
SQLException
PreparedStatement.setBlob(int, java.sql.Blob)
public void setBoolean(int parameterIndex, boolean x) throws SQLException
setBoolean
in interface PreparedStatement
SQLException
PreparedStatement.setBoolean(int, boolean)
public void setByte(int parameterIndex, byte x) throws SQLException
setByte
in interface PreparedStatement
SQLException
PreparedStatement.setByte(int, byte)
public void setBytes(int parameterIndex, byte[] x) throws SQLException
setBytes
in interface PreparedStatement
SQLException
PreparedStatement.setBytes(int, byte[])
public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setCharacterStream(int, java.io.Reader, int)
public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setCharacterStream(int, java.io.Reader, int)
public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setCharacterStream(int, java.io.Reader, int)
public void setClob(int i, Clob x) throws SQLException
setClob
in interface PreparedStatement
SQLException
PreparedStatement.setClob(int, java.sql.Clob)
public void setClob(int i, Reader reader) throws SQLException
setClob
in interface PreparedStatement
SQLException
PreparedStatement.setClob(int, java.sql.Clob)
public void setClob(int i, Reader reader, long length) throws SQLException
setClob
in interface PreparedStatement
SQLException
PreparedStatement.setClob(int, java.sql.Clob)
public void setCursorName(String name) throws SQLException
setCursorName
in interface Statement
setCursorName
in class StatementImpl
SQLException
Statement.setCursorName(java.lang.String)
public void setDate(int parameterIndex, Date x) throws SQLException
setDate
in interface PreparedStatement
SQLException
PreparedStatement.setDate(int, java.sql.Date)
public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException
setDate
in interface PreparedStatement
SQLException
PreparedStatement.setDate(int, java.sql.Date)
public void setDouble(int parameterIndex, double x) throws SQLException
setDouble
in interface PreparedStatement
SQLException
PreparedStatement.setDouble(int, double)
public void setFloat(int parameterIndex, float x) throws SQLException
setFloat
in interface PreparedStatement
SQLException
PreparedStatement.setFloat(int, float)
public void setInt(int parameterIndex, int x) throws SQLException
setInt
in interface PreparedStatement
SQLException
PreparedStatement.setInt(int, int)
public void setLong(int parameterIndex, long x) throws SQLException
setLong
in interface PreparedStatement
SQLException
PreparedStatement.setLong(int, long)
public void setNCharacterStream(int parameterIndex, Reader reader) throws SQLException
setNCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setNCharacterStream(int, java.io.Reader, long)
public void setNCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException
setNCharacterStream
in interface PreparedStatement
SQLException
PreparedStatement.setNCharacterStream(int, java.io.Reader, long)
public void setNClob(int parameterIndex, NClob value) throws SQLException
setNClob
in interface PreparedStatement
SQLException
PreparedStatement.setNClob(int, java.sql.NClob)
public void setNClob(int parameterIndex, Reader reader) throws SQLException
setNClob
in interface PreparedStatement
SQLException
PreparedStatement.setNClob(int, java.sql.NClob)
public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException
setNClob
in interface PreparedStatement
SQLException
PreparedStatement.setNClob(int, java.sql.NClob)
public void setNString(int parameterIndex, String value) throws SQLException
setNString
in interface PreparedStatement
SQLException
PreparedStatement.setNString(int, java.lang.String)
public void setNull(int parameterIndex, int sqlType) throws SQLException
setNull
in interface PreparedStatement
SQLException
PreparedStatement.setNull(int, int)
public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException
setNull
in interface PreparedStatement
SQLException
PreparedStatement.setNull(int, int)
public void setObject(int parameterIndex, Object x) throws SQLException
setObject
in interface PreparedStatement
SQLException
PreparedStatement.setObject(int, java.lang.Object, int)
public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException
setObject
in interface PreparedStatement
SQLException
PreparedStatement.setObject(int, java.lang.Object, int)
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
setObject
in interface PreparedStatement
SQLException
PreparedStatement.setObject(int, java.lang.Object, int)
public void setPoolable(boolean flag) throws SQLException
setPoolable
in interface Statement
setPoolable
in class StatementImpl
SQLException
Statement.setPoolable(boolean)
public void setRef(int i, Ref x) throws SQLException
setRef
in interface PreparedStatement
SQLException
PreparedStatement.setRef(int, java.sql.Ref)
public void setRowId(int parameterIndex, RowId x) throws SQLException
setRowId
in interface PreparedStatement
SQLException
PreparedStatement.setRowId(int, java.sql.RowId)
public void setShort(int parameterIndex, short x) throws SQLException
setShort
in interface PreparedStatement
SQLException
PreparedStatement.setShort(int, short)
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException
setSQLXML
in interface PreparedStatement
SQLException
PreparedStatement.setSQLXML(int, java.sql.SQLXML)
public void setString(int parameterIndex, String x) throws SQLException
setString
in interface PreparedStatement
SQLException
PreparedStatement.setString(int, java.lang.String)
public void setTime(int parameterIndex, Time x) throws SQLException
setTime
in interface PreparedStatement
SQLException
PreparedStatement.setTime(int, java.sql.Time)
public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException
setTime
in interface PreparedStatement
SQLException
PreparedStatement.setTime(int, java.sql.Time)
public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException
setTimestamp
in interface PreparedStatement
SQLException
PreparedStatement.setTimestamp(int, java.sql.Timestamp)
public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException
setTimestamp
in interface PreparedStatement
SQLException
PreparedStatement.setTimestamp(int, java.sql.Timestamp)
public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
setUnicodeStream
in interface PreparedStatement
SQLException
PreparedStatement.setUnicodeStream(int, java.io.InputStream, int)
public void setURL(int parameterIndex, URL x) throws SQLException
setURL
in interface PreparedStatement
SQLException
PreparedStatement.setURL(int, java.net.URL)
public Object unwrap(Class iface) throws SQLException
unwrap
in interface Wrapper
unwrap
in class StatementImpl
SQLException
Wrapper.unwrap(java.lang.Class)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |