public class CharacterStreamStatementParameter extends NamedStatementParameter
In the adapter configuration file this class is aliased as jdbc-character-stream-statement-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
CharacterStreamStatementParameter() |
CharacterStreamStatementParameter(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 . |
CharacterStreamStatementParameter |
makeCopy()
Make a copy of the statement parameter.
|
getName, setName
public CharacterStreamStatementParameter()
public CharacterStreamStatementParameter(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 CharacterStreamStatementParameter makeCopy()
JdbcStatementParameter