com.mysql.jdbc
public class JDBC4PreparedStatementHelper extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
(package private) static void |
setNClob(PreparedStatement pstmt,
int parameterIndex,
java.sql.NClob value)
JDBC 4.0 Set a NCLOB parameter.
|
(package private) static void |
setNClob(PreparedStatement pstmt,
int parameterIndex,
java.io.Reader reader) |
(package private) static void |
setNClob(PreparedStatement pstmt,
int parameterIndex,
java.io.Reader reader,
long length)
JDBC 4.0 Set a NCLOB parameter.
|
(package private) static void |
setRowId(PreparedStatement pstmt,
int parameterIndex,
java.sql.RowId x) |
(package private) static void |
setSQLXML(PreparedStatement pstmt,
int parameterIndex,
java.sql.SQLXML xmlObject) |
static void setRowId(PreparedStatement pstmt, int parameterIndex, java.sql.RowId x) throws java.sql.SQLException
java.sql.SQLException
static void setNClob(PreparedStatement pstmt, int parameterIndex, java.sql.NClob value) throws java.sql.SQLException
i
- the first parameter is 1, the second is 2, ...x
- an object representing a NCLOBjava.sql.SQLException
- if a database error occursstatic void setNClob(PreparedStatement pstmt, int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
java.sql.SQLException
static void setNClob(PreparedStatement pstmt, int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
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 streamjava.sql.SQLException
- if a database error occursstatic void setSQLXML(PreparedStatement pstmt, int parameterIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
java.sql.SQLException