MySQL Connector/J size='-1'>5.1.6

com.mysql.jdbc.jdbc2.optional
Class JDBC4CallableStatementWrapper

java.lang.Object
  extended by com.mysql.jdbc.jdbc2.optional.StatementWrapper
      extended by com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper
          extended by com.mysql.jdbc.jdbc2.optional.CallableStatementWrapper
              extended by com.mysql.jdbc.jdbc2.optional.JDBC4CallableStatementWrapper
All Implemented Interfaces:
java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement, java.sql.Wrapper

public class JDBC4CallableStatementWrapper
extends CallableStatementWrapper


Field Summary
protected  MysqlPooledConnection pooledConnection
           
protected  java.util.Map unwrappedInterfaces
           
 
Fields inherited from class com.mysql.jdbc.jdbc2.optional.StatementWrapper
wrappedConn, wrappedStmt
 
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
 
Constructor Summary
JDBC4CallableStatementWrapper(ConnectionWrapper c, MysqlPooledConnection conn, java.sql.CallableStatement toWrap)
           
 
Method Summary
protected  void checkAndFireConnectionError(java.sql.SQLException sqlEx)
          Fires connection error event if required, before re-throwing exception
 void close()
           
 java.io.Reader getCharacterStream(int parameterIndex)
           
 java.io.Reader getCharacterStream(java.lang.String parameterName)
           
 java.io.Reader getNCharacterStream(int parameterIndex)
           
 java.io.Reader getNCharacterStream(java.lang.String parameterName)
           
 java.sql.NClob getNClob(int parameterIndex)
           
 java.sql.NClob getNClob(java.lang.String parameterName)
           
 java.lang.String getNString(int parameterIndex)
           
 java.lang.String getNString(java.lang.String parameterName)
           
 java.sql.RowId getRowId(int parameterIndex)
           
 java.sql.RowId getRowId(java.lang.String parameterName)
           
 java.sql.SQLXML getSQLXML(int parameterIndex)
           
 java.sql.SQLXML getSQLXML(java.lang.String parameterName)
           
 boolean isClosed()
           
 boolean isPoolable()
           
 boolean isWrapperFor(java.lang.Class<?> iface)
          Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.
 void setAsciiStream(int parameterIndex, java.io.InputStream x)
           
 void setAsciiStream(int parameterIndex, java.io.InputStream x, long length)
           
 void setAsciiStream(java.lang.String parameterName, java.io.InputStream x)
           
 void setAsciiStream(java.lang.String parameterName, java.io.InputStream x, long length)
           
 void setBinaryStream(int parameterIndex, java.io.InputStream x)
           
 void setBinaryStream(int parameterIndex, java.io.InputStream x, long length)
           
 void setBinaryStream(java.lang.String parameterName, java.io.InputStream x)
           
 void setBinaryStream(java.lang.String parameterName, java.io.InputStream x, long length)
           
 void setBlob(int parameterIndex, java.io.InputStream inputStream)
           
 void setBlob(int parameterIndex, java.io.InputStream inputStream, long length)
           
 void setBlob(java.lang.String parameterName, java.sql.Blob x)
           
 void setBlob(java.lang.String parameterName, java.io.InputStream x)
           
 void setBlob(java.lang.String parameterName, java.io.InputStream x, long length)
           
 void setCharacterStream(int parameterIndex, java.io.Reader reader)
           
 void setCharacterStream(int parameterIndex, java.io.Reader reader, long length)
           
 void setCharacterStream(java.lang.String parameterName, java.io.Reader reader)
           
 void setCharacterStream(java.lang.String parameterName, java.io.Reader reader, long length)
           
 void setClob(int parameterIndex, java.io.Reader reader)
           
 void setClob(int parameterIndex, java.io.Reader reader, long length)
           
 void setClob(java.lang.String parameterName, java.sql.Clob x)
           
 void setClob(java.lang.String parameterName, java.io.Reader reader)
           
 void setClob(java.lang.String parameterName, java.io.Reader reader, long length)
           
 void setNCharacterStream(int parameterIndex, java.io.Reader value)
           
 void setNCharacterStream(int parameterIndex, java.io.Reader value, long length)
           
 void setNCharacterStream(java.lang.String parameterName, java.io.Reader reader)
           
 void setNCharacterStream(java.lang.String parameterName, java.io.Reader reader, long length)
           
 void setNClob(int parameterIndex, java.sql.NClob value)
           
 void setNClob(int parameterIndex, java.io.Reader reader)
           
 void setNClob(int parameterIndex, java.io.Reader reader, long length)
           
 void setNClob(java.lang.String parameterName, java.sql.NClob value)
           
 void setNClob(java.lang.String parameterName, java.io.Reader reader)
           
 void setNClob(java.lang.String parameterName, java.io.Reader reader, long length)
           
 void setNString(int parameterIndex, java.lang.String value)
           
 void setNString(java.lang.String parameterName, java.lang.String value)
           
 void setPoolable(boolean poolable)
           
 void setRowId(int parameterIndex, java.sql.RowId x)
           
 void setRowId(java.lang.String parameterName, java.sql.RowId x)
           
 void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject)
           
 void setSQLXML(java.lang.String parameterName, java.sql.SQLXML xmlObject)
           
<T> T
unwrap(java.lang.Class<T> iface)
          Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.
 
Methods inherited from class com.mysql.jdbc.jdbc2.optional.CallableStatementWrapper
getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getClob, getClob, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInstance, getInt, getInt, getLong, getLong, getObject, getObject, getObject, getObject, getRef, getRef, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getURL, getURL, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setAsciiStream, setBigDecimal, setBinaryStream, setBoolean, setByte, setBytes, setCharacterStream, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, wasNull
 
Methods inherited from class com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper
addBatch, clearParameters, execute, executeQuery, executeUpdate, getInstance, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
 
Methods inherited from class com.mysql.jdbc.jdbc2.optional.StatementWrapper
addBatch, cancel, clearBatch, clearWarnings, enableStreamingResults, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getInstance, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, 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, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

Field Detail

pooledConnection

protected MysqlPooledConnection pooledConnection

unwrappedInterfaces

protected java.util.Map unwrappedInterfaces
Constructor Detail

JDBC4CallableStatementWrapper

public JDBC4CallableStatementWrapper(ConnectionWrapper c,
                                     MysqlPooledConnection conn,
                                     java.sql.CallableStatement toWrap)
Method Detail

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface java.sql.Statement
Overrides:
close in class StatementWrapper
Throws:
java.sql.SQLException

isClosed

public boolean isClosed()
                 throws java.sql.SQLException
Specified by:
isClosed in interface java.sql.Statement
Overrides:
isClosed in class StatementWrapper
Throws:
java.sql.SQLException

setPoolable

public void setPoolable(boolean poolable)
                 throws java.sql.SQLException
Specified by:
setPoolable in interface java.sql.Statement
Overrides:
setPoolable in class StatementWrapper
Throws:
java.sql.SQLException

isPoolable

public boolean isPoolable()
                   throws java.sql.SQLException
Specified by:
isPoolable in interface java.sql.Statement
Overrides:
isPoolable in class StatementWrapper
Throws:
java.sql.SQLException

setRowId

public void setRowId(int parameterIndex,
                     java.sql.RowId x)
              throws java.sql.SQLException
Specified by:
setRowId in interface java.sql.PreparedStatement
Overrides:
setRowId in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setNClob

public void setNClob(int parameterIndex,
                     java.sql.NClob value)
              throws java.sql.SQLException
Specified by:
setNClob in interface java.sql.PreparedStatement
Overrides:
setNClob in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setSQLXML

public void setSQLXML(int parameterIndex,
                      java.sql.SQLXML xmlObject)
               throws java.sql.SQLException
Specified by:
setSQLXML in interface java.sql.PreparedStatement
Overrides:
setSQLXML in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setNString

public void setNString(int parameterIndex,
                       java.lang.String value)
                throws java.sql.SQLException
Specified by:
setNString in interface java.sql.PreparedStatement
Overrides:
setNString in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setNCharacterStream

public void setNCharacterStream(int parameterIndex,
                                java.io.Reader value,
                                long length)
                         throws java.sql.SQLException
Specified by:
setNCharacterStream in interface java.sql.PreparedStatement
Overrides:
setNCharacterStream in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setClob

public void setClob(int parameterIndex,
                    java.io.Reader reader,
                    long length)
             throws java.sql.SQLException
Specified by:
setClob in interface java.sql.PreparedStatement
Overrides:
setClob in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setBlob

public void setBlob(int parameterIndex,
                    java.io.InputStream inputStream,
                    long length)
             throws java.sql.SQLException
Specified by:
setBlob in interface java.sql.PreparedStatement
Overrides:
setBlob in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setNClob

public void setNClob(int parameterIndex,
                     java.io.Reader reader,
                     long length)
              throws java.sql.SQLException
Specified by:
setNClob in interface java.sql.PreparedStatement
Overrides:
setNClob in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           java.io.InputStream x,
                           long length)
                    throws java.sql.SQLException
Specified by:
setAsciiStream in interface java.sql.PreparedStatement
Overrides:
setAsciiStream in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            java.io.InputStream x,
                            long length)
                     throws java.sql.SQLException
Specified by:
setBinaryStream in interface java.sql.PreparedStatement
Overrides:
setBinaryStream in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               java.io.Reader reader,
                               long length)
                        throws java.sql.SQLException
Specified by:
setCharacterStream in interface java.sql.PreparedStatement
Overrides:
setCharacterStream in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           java.io.InputStream x)
                    throws java.sql.SQLException
Specified by:
setAsciiStream in interface java.sql.PreparedStatement
Overrides:
setAsciiStream in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            java.io.InputStream x)
                     throws java.sql.SQLException
Specified by:
setBinaryStream in interface java.sql.PreparedStatement
Overrides:
setBinaryStream in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               java.io.Reader reader)
                        throws java.sql.SQLException
Specified by:
setCharacterStream in interface java.sql.PreparedStatement
Overrides:
setCharacterStream in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setNCharacterStream

public void setNCharacterStream(int parameterIndex,
                                java.io.Reader value)
                         throws java.sql.SQLException
Specified by:
setNCharacterStream in interface java.sql.PreparedStatement
Overrides:
setNCharacterStream in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setClob

public void setClob(int parameterIndex,
                    java.io.Reader reader)
             throws java.sql.SQLException
Specified by:
setClob in interface java.sql.PreparedStatement
Overrides:
setClob in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setBlob

public void setBlob(int parameterIndex,
                    java.io.InputStream inputStream)
             throws java.sql.SQLException
Specified by:
setBlob in interface java.sql.PreparedStatement
Overrides:
setBlob in class PreparedStatementWrapper
Throws:
java.sql.SQLException

setNClob

public void setNClob(int parameterIndex,
                     java.io.Reader reader)
              throws java.sql.SQLException
Specified by:
setNClob in interface java.sql.PreparedStatement
Overrides:
setNClob in class PreparedStatementWrapper
Throws:
java.sql.SQLException

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> iface)
                     throws java.sql.SQLException
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. Returns false otherwise. If this implements the interface then return true, else if this is a wrapper then return the result of recursively calling isWrapperFor on the wrapped object. If this does not implement the interface and is not a wrapper, return false. This method should be implemented as a low-cost operation compared to unwrap so that callers can use this method to avoid expensive unwrap calls that may fail. If this method returns true then calling unwrap with the same argument should succeed.

Specified by:
isWrapperFor in interface java.sql.Wrapper
Overrides:
isWrapperFor in class CallableStatementWrapper
Parameters:
interfaces - a Class defining an interface.
Returns:
true if this implements the interface or directly or indirectly wraps an object that does.
Throws:
java.sql.SQLException - if an error occurs while determining whether this is a wrapper for an object with the given interface.
Since:
1.6

unwrap

public <T> T unwrap(java.lang.Class<T> iface)
         throws java.sql.SQLException
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. The result may be either the object found to implement the interface or a proxy for that object. If the receiver implements the interface then that is the object. If the receiver is a wrapper and the wrapped object implements the interface then that is the object. Otherwise the object is the result of calling unwrap recursively on the wrapped object. If the receiver is not a wrapper and does not implement the interface, then an SQLException is thrown.

Specified by:
unwrap in interface java.sql.Wrapper
Overrides:
unwrap in class CallableStatementWrapper
Parameters:
iface - A Class defining an interface that the result must implement.
Returns:
an object that implements the interface. May be a proxy for the actual implementing object.
Throws:
java.sql.SQLException - If no object found that implements the interface
Since:
1.6

setRowId

public void setRowId(java.lang.String parameterName,
                     java.sql.RowId x)
              throws java.sql.SQLException
Specified by:
setRowId in interface java.sql.CallableStatement
Overrides:
setRowId in class CallableStatementWrapper
Throws:
java.sql.SQLException

setSQLXML

public void setSQLXML(java.lang.String parameterName,
                      java.sql.SQLXML xmlObject)
               throws java.sql.SQLException
Specified by:
setSQLXML in interface java.sql.CallableStatement
Overrides:
setSQLXML in class CallableStatementWrapper
Throws:
java.sql.SQLException

getSQLXML

public java.sql.SQLXML getSQLXML(int parameterIndex)
                          throws java.sql.SQLException
Specified by:
getSQLXML in interface java.sql.CallableStatement
Overrides:
getSQLXML in class CallableStatementWrapper
Throws:
java.sql.SQLException

getSQLXML

public java.sql.SQLXML getSQLXML(java.lang.String parameterName)
                          throws java.sql.SQLException
Specified by:
getSQLXML in interface java.sql.CallableStatement
Overrides:
getSQLXML in class CallableStatementWrapper
Throws:
java.sql.SQLException

getRowId

public java.sql.RowId getRowId(java.lang.String parameterName)
                        throws java.sql.SQLException
Specified by:
getRowId in interface java.sql.CallableStatement
Overrides:
getRowId in class CallableStatementWrapper
Throws:
java.sql.SQLException

setNClob

public void setNClob(java.lang.String parameterName,
                     java.sql.NClob value)
              throws java.sql.SQLException
Specified by:
setNClob in interface java.sql.CallableStatement
Overrides:
setNClob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setNClob

public void setNClob(java.lang.String parameterName,
                     java.io.Reader reader)
              throws java.sql.SQLException
Specified by:
setNClob in interface java.sql.CallableStatement
Overrides:
setNClob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setNClob

public void setNClob(java.lang.String parameterName,
                     java.io.Reader reader,
                     long length)
              throws java.sql.SQLException
Specified by:
setNClob in interface java.sql.CallableStatement
Overrides:
setNClob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setNString

public void setNString(java.lang.String parameterName,
                       java.lang.String value)
                throws java.sql.SQLException
Specified by:
setNString in interface java.sql.CallableStatement
Overrides:
setNString in class CallableStatementWrapper
Throws:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(int parameterIndex)
                                  throws java.sql.SQLException
Specified by:
getCharacterStream in interface java.sql.CallableStatement
Overrides:
getCharacterStream in class CallableStatementWrapper
Throws:
java.sql.SQLException
See Also:
CallableStatement.getCharacterStream(int)

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String parameterName)
                                  throws java.sql.SQLException
Specified by:
getCharacterStream in interface java.sql.CallableStatement
Overrides:
getCharacterStream in class CallableStatementWrapper
Throws:
java.sql.SQLException
See Also:
CallableStatement.getCharacterStream(java.lang.String)

getNCharacterStream

public java.io.Reader getNCharacterStream(int parameterIndex)
                                   throws java.sql.SQLException
Specified by:
getNCharacterStream in interface java.sql.CallableStatement
Overrides:
getNCharacterStream in class CallableStatementWrapper
Throws:
java.sql.SQLException
See Also:
CallableStatement.getNCharacterStream(int)

getNCharacterStream

public java.io.Reader getNCharacterStream(java.lang.String parameterName)
                                   throws java.sql.SQLException
Specified by:
getNCharacterStream in interface java.sql.CallableStatement
Overrides:
getNCharacterStream in class CallableStatementWrapper
Throws:
java.sql.SQLException
See Also:
CallableStatement.getNCharacterStream(java.lang.String)

getNClob

public java.sql.NClob getNClob(java.lang.String parameterName)
                        throws java.sql.SQLException
Specified by:
getNClob in interface java.sql.CallableStatement
Overrides:
getNClob in class CallableStatementWrapper
Throws:
java.sql.SQLException
See Also:
CallableStatement.getNClob(java.lang.String)

getNString

public java.lang.String getNString(java.lang.String parameterName)
                            throws java.sql.SQLException
Specified by:
getNString in interface java.sql.CallableStatement
Overrides:
getNString in class CallableStatementWrapper
Throws:
java.sql.SQLException
See Also:
CallableStatement.getNString(java.lang.String)

setAsciiStream

public void setAsciiStream(java.lang.String parameterName,
                           java.io.InputStream x)
                    throws java.sql.SQLException
Specified by:
setAsciiStream in interface java.sql.CallableStatement
Overrides:
setAsciiStream in class CallableStatementWrapper
Throws:
java.sql.SQLException

setAsciiStream

public void setAsciiStream(java.lang.String parameterName,
                           java.io.InputStream x,
                           long length)
                    throws java.sql.SQLException
Specified by:
setAsciiStream in interface java.sql.CallableStatement
Overrides:
setAsciiStream in class CallableStatementWrapper
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(java.lang.String parameterName,
                            java.io.InputStream x)
                     throws java.sql.SQLException
Specified by:
setBinaryStream in interface java.sql.CallableStatement
Overrides:
setBinaryStream in class CallableStatementWrapper
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(java.lang.String parameterName,
                            java.io.InputStream x,
                            long length)
                     throws java.sql.SQLException
Specified by:
setBinaryStream in interface java.sql.CallableStatement
Overrides:
setBinaryStream in class CallableStatementWrapper
Throws:
java.sql.SQLException

setBlob

public void setBlob(java.lang.String parameterName,
                    java.io.InputStream x)
             throws java.sql.SQLException
Specified by:
setBlob in interface java.sql.CallableStatement
Overrides:
setBlob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setBlob

public void setBlob(java.lang.String parameterName,
                    java.io.InputStream x,
                    long length)
             throws java.sql.SQLException
Specified by:
setBlob in interface java.sql.CallableStatement
Overrides:
setBlob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setBlob

public void setBlob(java.lang.String parameterName,
                    java.sql.Blob x)
             throws java.sql.SQLException
Specified by:
setBlob in interface java.sql.CallableStatement
Overrides:
setBlob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(java.lang.String parameterName,
                               java.io.Reader reader)
                        throws java.sql.SQLException
Specified by:
setCharacterStream in interface java.sql.CallableStatement
Overrides:
setCharacterStream in class CallableStatementWrapper
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(java.lang.String parameterName,
                               java.io.Reader reader,
                               long length)
                        throws java.sql.SQLException
Specified by:
setCharacterStream in interface java.sql.CallableStatement
Overrides:
setCharacterStream in class CallableStatementWrapper
Throws:
java.sql.SQLException

setClob

public void setClob(java.lang.String parameterName,
                    java.sql.Clob x)
             throws java.sql.SQLException
Specified by:
setClob in interface java.sql.CallableStatement
Overrides:
setClob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setClob

public void setClob(java.lang.String parameterName,
                    java.io.Reader reader)
             throws java.sql.SQLException
Specified by:
setClob in interface java.sql.CallableStatement
Overrides:
setClob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setClob

public void setClob(java.lang.String parameterName,
                    java.io.Reader reader,
                    long length)
             throws java.sql.SQLException
Specified by:
setClob in interface java.sql.CallableStatement
Overrides:
setClob in class CallableStatementWrapper
Throws:
java.sql.SQLException

setNCharacterStream

public void setNCharacterStream(java.lang.String parameterName,
                                java.io.Reader reader)
                         throws java.sql.SQLException
Specified by:
setNCharacterStream in interface java.sql.CallableStatement
Overrides:
setNCharacterStream in class CallableStatementWrapper
Throws:
java.sql.SQLException

setNCharacterStream

public void setNCharacterStream(java.lang.String parameterName,
                                java.io.Reader reader,
                                long length)
                         throws java.sql.SQLException
Specified by:
setNCharacterStream in interface java.sql.CallableStatement
Overrides:
setNCharacterStream in class CallableStatementWrapper
Throws:
java.sql.SQLException

getNClob

public java.sql.NClob getNClob(int parameterIndex)
                        throws java.sql.SQLException
Specified by:
getNClob in interface java.sql.CallableStatement
Overrides:
getNClob in class CallableStatementWrapper
Throws:
java.sql.SQLException

getNString

public java.lang.String getNString(int parameterIndex)
                            throws java.sql.SQLException
Specified by:
getNString in interface java.sql.CallableStatement
Overrides:
getNString in class CallableStatementWrapper
Throws:
java.sql.SQLException

getRowId

public java.sql.RowId getRowId(int parameterIndex)
                        throws java.sql.SQLException
Specified by:
getRowId in interface java.sql.CallableStatement
Overrides:
getRowId in class CallableStatementWrapper
Throws:
java.sql.SQLException

checkAndFireConnectionError

protected void checkAndFireConnectionError(java.sql.SQLException sqlEx)
                                    throws java.sql.SQLException
Fires connection error event if required, before re-throwing exception

Parameters:
sqlEx - the SQLException that has ocurred
Throws:
java.sql.SQLException - (rethrown)

MySQL Connector/J size='-1'>5.1.6