public class AltibasePreparedStatement extends AbstractPreparedStatement
AltibaseStatement.ExecuteResultManager| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mBatchAdded |
protected int |
mBatchJobCount |
protected BatchRowHandle |
mBatchRowHandle |
protected java.util.List<Column> |
mBindColumns |
protected java.util.List |
mContext |
protected Altibase.jdbc.driver.LobUpdator |
mLobUpdator |
BYTES_PER_CHAR, EMPTY_LARGE_BATCH_RESULT, mBatchSetBytesUseLob, mConnection, mCurrentResultIndex, mCurrentResultSet, mEscapeProcessing, mExecuteResultMgr, mExecutionResult, mFetchResult, mFetchSize, mForceClobBind, mIsClosed, mIsDeferred, mMaxFieldSize, mMaxRows, mPrepareResult, mPrepareResultColumns, mQstr, mResultSetList, mResultSetReturned, mReUseResultSet, mStmtCID, mTargetResultSetConcurrency, mTargetResultSetType, mWarning| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
addBatch(java.lang.String aSql) |
protected void |
addMetaColumnInfo(int aIndex,
int aDataType,
int aPrecision)
deferred»óÅÂÀ϶§ Ä÷³ ¸ÞŸ Á¤º¸¸¦ ¼öµ¿À¸·Î »ý¼ºÇÑ´Ù.
|
void |
clearBatch() |
void |
clearParameters() |
protected void |
closeAllPrevResultSet() |
protected void |
closeAllResultSet() |
protected void |
closeCurrentResultSet() |
protected void |
createProtocolContext() |
boolean |
execute() |
boolean |
execute(java.lang.String aSql) |
boolean |
execute(java.lang.String aSql,
int aAutoGeneratedKeys) |
boolean |
execute(java.lang.String aSql,
int[] aColumnIndexes) |
boolean |
execute(java.lang.String aSql,
java.lang.String[] aColumnNames) |
int[] |
executeBatch() |
long[] |
executeLargeBatch() |
long |
executeLargeUpdate() |
java.sql.ResultSet |
executeQuery() |
java.sql.ResultSet |
executeQuery(java.lang.String aSql) |
int |
executeUpdate() |
int |
executeUpdate(java.lang.String aSql) |
int |
executeUpdate(java.lang.String aSql,
int aAutoGeneratedKeys) |
int |
executeUpdate(java.lang.String aSql,
int[] aColumnIndexes) |
int |
executeUpdate(java.lang.String aSql,
java.lang.String[] aColumnNames) |
boolean |
getAtomicBatch() |
protected Column |
getColumn(int aIndex,
int aSqlType) |
protected Column |
getColumn(int aIndex,
int aSqlType,
java.lang.Object aValue) |
protected Column |
getColumnForInType(int aIndex,
int aSqlType) |
protected int |
getDefaultPrecisionForDeferred(int aTargetSqlType,
java.lang.Object aValue)
sqlType¿¡ ÇØ´çÇÏ´Â ±âº» precision °ªÀ» ±¸ÇÑ´Ù.
|
java.sql.ResultSetMetaData |
getMetaData() |
java.sql.ParameterMetaData |
getParameterMetaData() |
protected CmProtocolContextDirExec |
getProtocolContext() |
java.sql.ResultSet |
getResultSet() |
int |
getStmtId() |
protected void |
incCurrentResultSetIndex() |
void |
setArray(int aParameterIndex,
java.sql.Array aValue) |
void |
setAsciiStream(int aParameterIndex,
java.io.InputStream aValue) |
void |
setAsciiStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength) |
void |
setAsciiStream(int aParameterIndex,
java.io.InputStream aValue,
long aLength) |
void |
setAtomicBatch(boolean aValue) |
void |
setBigDecimal(int aParameterIndex,
java.math.BigDecimal aValue) |
void |
setBinaryStream(int aParameterIndex,
java.io.InputStream aValue) |
void |
setBinaryStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength) |
void |
setBinaryStream(int aParameterIndex,
java.io.InputStream aValue,
long aLength) |
void |
setBlob(int aParameterIndex,
java.sql.Blob aValue) |
void |
setBlob(int aParameterIndex,
java.io.InputStream aInputStream) |
void |
setBlob(int aParameterIndex,
java.io.InputStream aInputStream,
long aLength) |
void |
setBoolean(int aParameterIndex,
boolean aValue) |
void |
setByte(int aParameterIndex,
byte aValue) |
void |
setBytes(int aParameterIndex,
byte[] aValue) |
void |
setCharacterStream(int aParameterIndex,
java.io.Reader aValue) |
void |
setCharacterStream(int aParameterIndex,
java.io.Reader aValue,
int aLength) |
void |
setCharacterStream(int aParameterIndex,
java.io.Reader aValue,
long aLength) |
void |
setClob(int aParameterIndex,
java.sql.Clob aValue) |
void |
setClob(int aParameterIndex,
java.io.Reader aReader) |
void |
setClob(int aParameterIndex,
java.io.Reader aReader,
long aLength) |
void |
setDate(int aParameterIndex,
java.sql.Date aValue) |
void |
setDate(int aParameterIndex,
java.sql.Date aValue,
java.util.Calendar aCalendar) |
void |
setDouble(int aParameterIndex,
double aValue) |
void |
setFloat(int aParameterIndex,
float aValue) |
void |
setInt(int aParameterIndex,
int aValue) |
void |
setLong(int aParameterIndex,
long aValue) |
void |
setNString(int aParameterIndex,
java.lang.String aValue) |
void |
setNull(int aParameterIndex,
int aSqlType) |
void |
setNull(int aParameterIndex,
int aSqlType,
java.lang.String aTypeName) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType,
int aScale) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue,
java.sql.SQLType aTargetSqlType) |
void |
setObject(int aParameterIndex,
java.lang.Object aValue,
java.sql.SQLType aTargetSqlType,
int aScaleOrLength) |
void |
setRef(int i,
java.sql.Ref aValue) |
void |
setShort(int aParameterIndex,
short aValue) |
void |
setString(int aParameterIndex,
java.lang.String aValue) |
void |
setTime(int aParameterIndex,
java.sql.Time aValue) |
void |
setTime(int aParameterIndex,
java.sql.Time aValue,
java.util.Calendar aCalendar) |
void |
setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue) |
void |
setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue,
java.util.Calendar aCalendar) |
void |
setUnicodeStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength) |
void |
setURL(int aParameterIndex,
java.net.URL aValue) |
java.lang.String |
toString() |
setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setRowId, setSQLXMLafterExecution, cancel, clearAllResults, clearWarnings, close, closeOnCompletion, createInternalStatement, downgradeFetchSize, executeLargeUpdate, getConnection, getExplainPlan, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSql, getUpdateCount, getWarnings, isAsyncPrefetch, isClosed, isCloseOnCompletion, isInternalStatement, isPingSQL, isPoolable, pingAndCreateLightweightResultSet, procDowngradeAndGetTargetSql, processExecutionQueryResult, processExecutionResult, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, setSql, toInt, toIntBatchUpdateCountsisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcancel, clearWarnings, close, closeOnCompletion, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutprotected int mBatchJobCount
protected boolean mBatchAdded
protected java.util.List mContext
protected java.util.List<Column> mBindColumns
protected BatchRowHandle mBatchRowHandle
protected Altibase.jdbc.driver.LobUpdator mLobUpdator
public void setAtomicBatch(boolean aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean getAtomicBatch()
protected void createProtocolContext()
createProtocolContext in class AltibaseStatementprotected CmProtocolContextDirExec getProtocolContext()
getProtocolContext in class AltibaseStatementprotected void closeAllResultSet()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void closeAllPrevResultSet()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void closeCurrentResultSet()
throws java.sql.SQLException
java.sql.SQLExceptionprotected Column getColumn(int aIndex, int aSqlType) throws java.sql.SQLException
java.sql.SQLExceptionprotected Column getColumn(int aIndex, int aSqlType, java.lang.Object aValue) throws java.sql.SQLException
java.sql.SQLExceptionprotected Column getColumnForInType(int aIndex, int aSqlType) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.ResultSet getResultSet()
throws java.sql.SQLException
getResultSet in interface java.sql.StatementgetResultSet in class AltibaseStatementjava.sql.SQLExceptionprotected void incCurrentResultSetIndex()
incCurrentResultSetIndex in class AltibaseStatementpublic void addBatch()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void clearBatch()
throws java.sql.SQLException
clearBatch in interface java.sql.StatementclearBatch in class AltibaseStatementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.StatementexecuteBatch in class AltibaseStatementjava.sql.SQLExceptionpublic long[] executeLargeBatch()
throws java.sql.SQLException
executeLargeBatch in interface java.sql.StatementexecuteLargeBatch in class AltibaseStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.ResultSet executeQuery()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setArray(int aParameterIndex,
java.sql.Array aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setAsciiStream(int aParameterIndex,
java.io.InputStream aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setAsciiStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setAsciiStream(int aParameterIndex,
java.io.InputStream aValue,
long aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBigDecimal(int aParameterIndex,
java.math.BigDecimal aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBinaryStream(int aParameterIndex,
java.io.InputStream aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBinaryStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBinaryStream(int aParameterIndex,
java.io.InputStream aValue,
long aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBlob(int aParameterIndex,
java.sql.Blob aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBoolean(int aParameterIndex,
boolean aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setByte(int aParameterIndex,
byte aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBytes(int aParameterIndex,
byte[] aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setCharacterStream(int aParameterIndex,
java.io.Reader aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setCharacterStream(int aParameterIndex,
java.io.Reader aValue,
int aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setCharacterStream(int aParameterIndex,
java.io.Reader aValue,
long aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setClob(int aParameterIndex,
java.sql.Clob aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setDate(int aParameterIndex,
java.sql.Date aValue,
java.util.Calendar aCalendar)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setDate(int aParameterIndex,
java.sql.Date aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setDouble(int aParameterIndex,
double aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setFloat(int aParameterIndex,
float aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setInt(int aParameterIndex,
int aValue)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void addMetaColumnInfo(int aIndex,
int aDataType,
int aPrecision)
aIndex - Ä÷³ À妽º(1 base)aDataType - sql typeaPrecision - Precisionpublic void setLong(int aParameterIndex,
long aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNull(int aParameterIndex,
int aSqlType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNull(int aParameterIndex,
int aSqlType,
java.lang.String aTypeName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType,
int aScale)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue,
int aTargetSqlType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLExceptionprotected int getDefaultPrecisionForDeferred(int aTargetSqlType,
java.lang.Object aValue)
aTargetSqlType - aValue - public void setObject(int aParameterIndex,
java.lang.Object aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setRef(int i,
java.sql.Ref aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setShort(int aParameterIndex,
short aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setString(int aParameterIndex,
java.lang.String aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTime(int aParameterIndex,
java.sql.Time aValue,
java.util.Calendar aCalendar)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTime(int aParameterIndex,
java.sql.Time aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue,
java.util.Calendar aCalendar)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTimestamp(int aParameterIndex,
java.sql.Timestamp aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setURL(int aParameterIndex,
java.net.URL aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setUnicodeStream(int aParameterIndex,
java.io.InputStream aValue,
int aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addBatch(java.lang.String aSql)
throws java.sql.SQLException
addBatch in interface java.sql.StatementaddBatch in class AltibaseStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AltibaseStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AltibaseStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AltibaseStatementjava.sql.SQLExceptionpublic boolean execute(java.lang.String aSql)
throws java.sql.SQLException
execute in interface java.sql.Statementexecute in class AltibaseStatementjava.sql.SQLExceptionpublic java.sql.ResultSet executeQuery(java.lang.String aSql)
throws java.sql.SQLException
executeQuery in interface java.sql.StatementexecuteQuery in class AltibaseStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AltibaseStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AltibaseStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AltibaseStatementjava.sql.SQLExceptionpublic int executeUpdate(java.lang.String aSql)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class AltibaseStatementjava.sql.SQLExceptionpublic int getStmtId()
public java.lang.String toString()
toString in class AltibaseStatementpublic long executeLargeUpdate()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNString(int aParameterIndex,
java.lang.String aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setClob(int aParameterIndex,
java.io.Reader aReader)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setClob(int aParameterIndex,
java.io.Reader aReader,
long aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBlob(int aParameterIndex,
java.io.InputStream aInputStream)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBlob(int aParameterIndex,
java.io.InputStream aInputStream,
long aLength)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue,
java.sql.SQLType aTargetSqlType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setObject(int aParameterIndex,
java.lang.Object aValue,
java.sql.SQLType aTargetSqlType,
int aScaleOrLength)
throws java.sql.SQLException
java.sql.SQLException