|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implementations of this interface are used to set java.sql.PreparedStatement parameters.
Nested Class Summary | |
static class |
JDBCParameterSetter.JDBCAbstractParameterSetter
|
Field Summary | |
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 |
Method Summary | |
void |
set(PreparedStatement ps,
int index,
int jdbcType,
Object value,
org.jboss.logging.Logger log)
Sets a parameter of a specific JDBC type. |
Field Detail |
public static final JDBCParameterSetter CLOB
public static final JDBCParameterSetter BINARY
public static final JDBCParameterSetter BLOB
public static final JDBCParameterSetter NUMERIC
public static final JDBCParameterSetter OBJECT
Method Detail |
public 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 logger
SQLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |