public interface JDBCParameterSetter
Modifier and Type | Interface and Description |
---|---|
static class |
JDBCParameterSetter.JDBCAbstractParameterSetter |
Modifier and Type | Field and Description |
---|---|
static JDBCParameterSetter |
BINARY
Types.BINARY, Types.VARBINARY.
|
static JDBCParameterSetter |
BLOB
Types.BLOB, Types.LONGVARBINARY.
|
static JDBCParameterSetter |
CLOB
Types.CLOB, Types.LONGVARCHAR.
|
static JDBCParameterSetter |
NUMERIC
Types.DECIMAL, Types.NUMERIC
|
static JDBCParameterSetter |
OBJECT
Types.JAVA_OBJECT, Types.OTHER, Types.STRUCT
|
Modifier and Type | Method and Description |
---|---|
void |
set(PreparedStatement ps,
int index,
int jdbcType,
Object value,
org.jboss.logging.Logger log)
Sets a parameter of a specific JDBC type.
|
static final JDBCParameterSetter CLOB
static final JDBCParameterSetter BINARY
static final JDBCParameterSetter BLOB
static final JDBCParameterSetter NUMERIC
static final JDBCParameterSetter OBJECT
void set(PreparedStatement ps, int index, int jdbcType, Object value, org.jboss.logging.Logger log) throws SQLException
ps
- the java.sql.PreparedStatement to set parameter onindex
- the index of the parameterjdbcType
- the JDBC type of the parameter as defined by java.sql.Typesvalue
- parameter valuelog
- the loggerSQLException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.