Class JDBC4PreparedStatementHelper
java.lang.Object
com.mysql.jdbc.JDBC4PreparedStatementHelper
-
Method Summary
Modifier and TypeMethodDescription(package private) static voidsetNClob(PreparedStatement pstmt, int parameterIndex, Reader reader) (package private) static voidsetNClob(PreparedStatement pstmt, int parameterIndex, Reader reader, long length) JDBC 4.0 Set a NCLOB parameter.(package private) static voidsetNClob(PreparedStatement pstmt, int parameterIndex, NClob value) JDBC 4.0 Set a NCLOB parameter.(package private) static voidsetRowId(PreparedStatement pstmt, int parameterIndex, RowId x) (package private) static voidsetSQLXML(PreparedStatement pstmt, int parameterIndex, SQLXML xmlObject)
-
Method Details
-
setRowId
- Throws:
SQLException
-
setNClob
JDBC 4.0 Set a NCLOB parameter.- Parameters:
i- the first parameter is 1, the second is 2, ...x- an object representing a NCLOB- Throws:
SQLException- if a database error occurs
-
setNClob
static void setNClob(PreparedStatement pstmt, int parameterIndex, Reader reader) throws SQLException - Throws:
SQLException
-
setNClob
static void setNClob(PreparedStatement pstmt, int parameterIndex, Reader reader, long length) throws SQLException JDBC 4.0 Set a NCLOB parameter.- Parameters:
parameterIndex- 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- Throws:
SQLException- if a database error occurs
-
setSQLXML
static void setSQLXML(PreparedStatement pstmt, int parameterIndex, SQLXML xmlObject) throws SQLException - Throws:
SQLException
-