|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysql.jdbc.StatementImpl
com.mysql.jdbc.PreparedStatement
com.mysql.jdbc.ServerPreparedStatement
com.mysql.jdbc.JDBC4ServerPreparedStatement
public class JDBC4ServerPreparedStatement
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.mysql.jdbc.ServerPreparedStatement |
|---|
ServerPreparedStatement.BindValue |
| Field Summary |
|---|
| Fields inherited from class com.mysql.jdbc.ServerPreparedStatement |
|---|
BLOB_STREAM_READ_BUF_SIZE, isCached |
| Fields inherited from class com.mysql.jdbc.PreparedStatement |
|---|
batchedValuesClause, batchHasPlainStatements, firstCharOfStmt, hasLimitClause, isLoadDataQuery, numberOfExecutions, originalSql, parameterCount, parameterMetaData, parameterTypes, useTrueBoolean, usingAnsiMode |
| 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 | |
|---|---|
JDBC4ServerPreparedStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
int resultSetType,
int resultSetConcurrency)
|
|
| Method Summary | |
|---|---|
void |
setNCharacterStream(int parameterIndex,
java.io.Reader reader,
long length)
JDBC 2.0 When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader. |
void |
setNClob(int parameterIndex,
java.sql.NClob x)
|
void |
setNClob(int parameterIndex,
java.io.Reader reader,
long length)
JDBC 4.0 Set a NCLOB parameter. |
void |
setNString(int parameterIndex,
java.lang.String x)
Set a parameter to a Java String value. |
void |
setRowId(int parameterIndex,
java.sql.RowId x)
|
void |
setSQLXML(int parameterIndex,
java.sql.SQLXML xmlObject)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.sql.Statement |
|---|
cancel, clearWarnings, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Constructor Detail |
|---|
public JDBC4ServerPreparedStatement(ConnectionImpl conn,
java.lang.String sql,
java.lang.String catalog,
int resultSetType,
int resultSetConcurrency)
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public void setNCharacterStream(int parameterIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
PreparedStatementNote: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
setNCharacterStream in interface java.sql.PreparedStatementsetNCharacterStream in class PreparedStatementparameterIndex - the first parameter is 1, the second is 2, ...reader - the java reader which contains the UNICODE datalength - the number of characters in the stream
java.sql.SQLException - if a database-access error occurs.PreparedStatement.setNCharacterStream(int, java.io.Reader,
long)
public void setNClob(int parameterIndex,
java.sql.NClob x)
throws java.sql.SQLException
setNClob in interface java.sql.PreparedStatementsetNClob in class PreparedStatementjava.sql.SQLExceptionPreparedStatement.setNClob(int, java.sql.NClob)
public void setNClob(int parameterIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
setNClob in interface java.sql.PreparedStatementsetNClob in class PreparedStatementparameterIndex - the first parameter is 1, the second is 2, ...reader - the java reader which contains the UNICODE datalength - the number of characters in the stream
java.sql.SQLException - if a database error occurs
public void setNString(int parameterIndex,
java.lang.String x)
throws java.sql.SQLException
PreparedStatement
setNString in interface java.sql.PreparedStatementsetNString in class PreparedStatementparameterIndex - the first parameter is 1...x - the parameter value
java.sql.SQLException - if a database access error occursPreparedStatement.setNString(int, java.lang.String)
public void setRowId(int parameterIndex,
java.sql.RowId x)
throws java.sql.SQLException
setRowId in interface java.sql.PreparedStatementsetRowId in class PreparedStatementjava.sql.SQLException
public void setSQLXML(int parameterIndex,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
setSQLXML in interface java.sql.PreparedStatementsetSQLXML in class PreparedStatementjava.sql.SQLException
|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||