public class JDBC42CallableStatement extends JDBC4CallableStatement
CallableStatement.CallableStatementParam, CallableStatement.CallableStatementParamInfo
PreparedStatement.AppendingBatchVisitor, PreparedStatement.BatchParams, PreparedStatement.BatchVisitor, PreparedStatement.EmulatedPreparedStatementBindings, PreparedStatement.EndPoint, PreparedStatement.ParseInfo
StatementImpl.CancelTask
JDBC_4_CSTMT_2_ARGS_CTOR, JDBC_4_CSTMT_4_ARGS_CTOR, outputParamWasNull, paramInfo
batchCommandIndex, batchedValuesClause, batchHasPlainStatements, firstCharOfStmt, isLoadDataQuery, isNull, numberOfExecutions, originalSql, parameterCount, parameterMetaData, parameterTypes, parseInfo, rewrittenBatchSize, serverSupportsFracSecs, useTrueBoolean, usingAnsiMode
batchedArgs, batchedGeneratedKeys, cancelTimeoutMutex, charConverter, charEncoding, clearWarningsCalled, connection, connectionId, continueBatchOnError, currentCatalog, doEscapeProcessing, eventSink, generatedKeysResults, holdResultsOpenOverClose, isClosed, lastInsertId, lastQueryIsOnDupKeyUpdate, maxFieldSize, maxRows, ON_DUPLICATE_KEY_UPDATE_CLAUSE, openResults, pedantic, PING_MARKER, pingTarget, pointOfOrigin, profileSQL, results, resultSetConcurrency, resultSetType, retrieveGeneratedKeys, sendFractionalSeconds, statementCounter, statementExecuting, statementId, timeoutInMillis, updateCount, useLegacyDatetimeCode, USES_VARIABLES_FALSE, USES_VARIABLES_TRUE, USES_VARIABLES_UNKNOWN, useUsageAdvisor, version5013OrNewer, warningChain, wasCancelled, wasCancelledByTimeout
Constructor and Description |
---|
JDBC42CallableStatement(MySQLConnection conn,
CallableStatement.CallableStatementParamInfo paramInfo) |
JDBC42CallableStatement(MySQLConnection conn,
java.lang.String sql,
java.lang.String catalog,
boolean isFunctionCall) |
Modifier and Type | Method and Description |
---|---|
void |
registerOutParameter(int parameterIndex,
SQLType sqlType)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
registerOutParameter(int parameterIndex,
SQLType sqlType,
int scale)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
registerOutParameter(int parameterIndex,
SQLType sqlType,
java.lang.String typeName)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
registerOutParameter(java.lang.String parameterName,
SQLType sqlType)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
registerOutParameter(java.lang.String parameterName,
SQLType sqlType,
int scale)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
registerOutParameter(java.lang.String parameterName,
SQLType sqlType,
java.lang.String typeName)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
setObject(int parameterIndex,
java.lang.Object x)
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.
|
void |
setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.
|
void |
setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType,
int scaleOrLength)
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.
|
void |
setObject(int parameterIndex,
java.lang.Object x,
SQLType targetSqlType)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
setObject(int parameterIndex,
java.lang.Object x,
SQLType targetSqlType,
int scaleOrLength)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
setObject(java.lang.String parameterName,
java.lang.Object x,
SQLType targetSqlType)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
setObject(java.lang.String parameterName,
java.lang.Object x,
SQLType targetSqlType,
int scaleOrLength)
Support for java.sql.JDBCType/java.sql.SQLType.
|
getCharacterStream, getCharacterStream, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, setNClob, setNClob, setNClob, setNClob, setNString, setRowId, setRowId, setSQLXML, setSQLXML
addBatch, checkReadOnlySafeStatement, clearParameters, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeQuery, executeUpdate, fixParameterName, getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getClob, getClob, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInstance, getInstance, getInt, getInt, getLong, getLong, getNamedParamIndex, getObject, getObject, getObject, getObject, getObject, getObject, getOutputParameters, getParameterIndexOffset, getParameterMetaData, getRef, getRef, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getURL, getURL, mapOutputParameterIndexToRsIndex, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNull, setNull, setObject, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, wasNull
addBatch, asSql, asSql, canRewrite, canRewriteAsMultiValueInsertAtSqlLevel, checkBounds, clearBatch, computeBatchSize, computeMaxParameterSetSizeAndBatchSize, containsOnDuplicateKeyUpdateInSQL, detectFractionalSecondsSupport, executeBatchedInserts, executeBatchInternal, executeBatchSerially, executeInternal, executePreparedBatchAsMultiStatement, executeUpdateInternal, executeUpdateInternal, fillSendPacket, fillSendPacket, getBytesRepresentation, getBytesRepresentationForBatch, getDateTime, getInstance, getInstance, getInstance, getLocationOfOnDuplicateKeyUpdate, getMetaData, getNonRewrittenSql, getParameterBindings, getParseInfo, getPreparedSql, getRewrittenBatchSize, getUpdateCount, getValuesClause, isNull, isSelectQuery, prepareBatchedInsertSQL, readFully, realClose, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setBytes, setBytesNoEscape, setBytesNoEscapeNoQuotes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setInternal, setInternal, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNString, setNull, setNull, setOneBatchedParameterSet, setRef, setRetrieveGeneratedKeys, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, toString
cancel, checkClosed, checkForDml, checkNullOrEmptyQuery, clearWarnings, close, closeAllOpenResults, closeOnCompletion, containsOnDuplicateKeyInString, createStreamingResultSet, disableStreamingResults, doPingInstead, enableStreamingResults, execute, execute, execute, execute, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeSimpleNonQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdateInternal, findStartOfStatement, generatePingResultSet, getBatchedArgs, getBatchedGeneratedKeys, getBatchedGeneratedKeys, getCalendarInstanceForSessionOrNew, getConnection, getExceptionInterceptor, getFetchDirection, getFetchSize, getGeneratedKeys, getGeneratedKeysInternal, getGeneratedKeysInternal, getId, getLargeMaxRows, getLargeUpdateCount, getLastInsertID, getLocalInfileInputStream, getLongUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getOnDuplicateKeyLocation, getOpenResultSetCount, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetInternal, getResultSetType, getWarnings, handleExceptionForBatch, hasDeadlockOrTimeoutRolledBackTx, implicitlyCloseAllOpenResults, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, processMultiCountsAndKeys, removeOpenResultSet, resetCancelledState, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setHoldResultsOpenOverClose, setLargeMaxRows, setLocalInfileInputStream, setMaxFieldSize, setMaxRows, setPingTarget, setPoolable, setQueryTimeout, setResultSetConcurrency, setResultSetType, setupStreamingTimeout, statementBegins, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNString, setNull, setNull, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
public JDBC42CallableStatement(MySQLConnection conn, CallableStatement.CallableStatementParamInfo paramInfo) throws java.sql.SQLException
java.sql.SQLException
public JDBC42CallableStatement(MySQLConnection conn, java.lang.String sql, java.lang.String catalog, boolean isFunctionCall) throws java.sql.SQLException
java.sql.SQLException
public void registerOutParameter(int parameterIndex, SQLType sqlType) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
registerOutParameter
in class CallableStatement
parameterIndex
- sqlType
- java.sql.SQLException
CallableStatement.registerOutParameter(int, int)
public void registerOutParameter(int parameterIndex, SQLType sqlType, int scale) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
registerOutParameter
in class CallableStatement
parameterIndex
- sqlType
- scale
- java.sql.SQLException
CallableStatement.registerOutParameter(int, int, int)
public void registerOutParameter(int parameterIndex, SQLType sqlType, java.lang.String typeName) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
registerOutParameter
in class CallableStatement
parameterIndex
- sqlType
- typeName
- java.sql.SQLException
CallableStatement.registerOutParameter(int, int, java.lang.String)
public void registerOutParameter(java.lang.String parameterName, SQLType sqlType) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
registerOutParameter
in class CallableStatement
parameterName
- sqlType
- java.sql.SQLException
CallableStatement.registerOutParameter(java.lang.String, int)
public void registerOutParameter(java.lang.String parameterName, SQLType sqlType, int scale) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
registerOutParameter
in class CallableStatement
parameterName
- sqlType
- scale
- java.sql.SQLException
CallableStatement.registerOutParameter(java.lang.String, int, int)
public void registerOutParameter(java.lang.String parameterName, SQLType sqlType, java.lang.String typeName) throws java.sql.SQLException
registerOutParameter
in interface java.sql.CallableStatement
registerOutParameter
in class CallableStatement
parameterName
- sqlType
- typeName
- java.sql.SQLException
CallableStatement.registerOutParameter(java.lang.String, int, java.lang.String)
public void setObject(int parameterIndex, java.lang.Object x) throws java.sql.SQLException
setObject
in interface java.sql.PreparedStatement
setObject
in class PreparedStatement
parameterIndex
- x
- java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType) throws java.sql.SQLException
setObject
in interface java.sql.PreparedStatement
setObject
in class PreparedStatement
parameterIndex
- x
- targetSqlType
- java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength) throws java.sql.SQLException
setObject
in interface java.sql.PreparedStatement
setObject
in class PreparedStatement
parameterIndex
- x
- targetSqlType
- scaleOrLength
- java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x, SQLType targetSqlType) throws java.sql.SQLException
setObject
in interface java.sql.PreparedStatement
setObject
in class PreparedStatement
parameterIndex
- x
- targetSqlType
- java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x, SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
setObject
in interface java.sql.PreparedStatement
setObject
in class PreparedStatement
parameterIndex
- x
- targetSqlType
- scaleOrLength
- java.sql.SQLException
public void setObject(java.lang.String parameterName, java.lang.Object x, SQLType targetSqlType) throws java.sql.SQLException
setObject
in interface java.sql.CallableStatement
setObject
in class CallableStatement
parameterName
- x
- targetSqlType
- java.sql.SQLException
CallableStatement.setObject(java.lang.String, java.lang.Object, int)
public void setObject(java.lang.String parameterName, java.lang.Object x, SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
setObject
in interface java.sql.CallableStatement
setObject
in class CallableStatement
parameterName
- x
- targetSqlType
- scaleOrLength
- java.sql.SQLException
CallableStatement.setObject(java.lang.String, java.lang.Object, int, int)