com.mysql.jdbc
Class JDBC4PreparedStatementHelper
java.lang.Object
com.mysql.jdbc.JDBC4PreparedStatementHelper
public class JDBC4PreparedStatementHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setRowId
static void setRowId(PreparedStatement pstmt,
int parameterIndex,
RowId x)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setNClob
static void setNClob(PreparedStatement pstmt,
int parameterIndex,
NClob value)
throws java.sql.SQLException
- 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:
java.sql.SQLException
- if a database error occurs
setNClob
static void setNClob(PreparedStatement pstmt,
int parameterIndex,
java.io.Reader reader,
long length)
throws java.sql.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:
java.sql.SQLException
- if a database error occurs
setSQLXML
static void setSQLXML(PreparedStatement pstmt,
int parameterIndex,
SQLXML xmlObject)
throws java.sql.SQLException
- Throws:
java.sql.SQLException