public class BytePayloadStatementParameter extends NamedStatementParameter
In the adapter configuration file this class is aliased as jdbc-byte-payload-statement-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
BytePayloadStatementParameter() |
BytePayloadStatementParameter(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
apply(int parameterIndex,
java.sql.PreparedStatement statement,
AdaptrisMessage msg)
Apply this statement parameter to the
PreparedStatement . |
BytePayloadStatementParameter |
makeCopy()
Make a copy of the statement parameter.
|
getName, setName
public BytePayloadStatementParameter()
public BytePayloadStatementParameter(java.lang.String name)
public void apply(int parameterIndex, java.sql.PreparedStatement statement, AdaptrisMessage msg) throws java.sql.SQLException, ServiceException
JdbcStatementParameter
PreparedStatement
.parameterIndex
- the index in the PreparedStatement
statement
- the PreparedStatement
msg
- the AdaptrisMessagejava.sql.SQLException
- on exceptionServiceException
public BytePayloadStatementParameter makeCopy()
JdbcStatementParameter