Package com.adaptris.core.services.jdbc
Class BinaryStreamStatementParameter
- java.lang.Object
-
- com.adaptris.core.services.jdbc.NamedStatementParameter
-
- com.adaptris.core.services.jdbc.BinaryStreamStatementParameter
-
- All Implemented Interfaces:
JdbcStatementParameter
public class BinaryStreamStatementParameter extends NamedStatementParameter
Binary Stream Statement Parameter.In the adapter configuration file this class is aliased as jdbc-binary-stream-statement-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.services.jdbc.NamedStatementParameter
log
-
-
Constructor Summary
Constructors Constructor Description BinaryStreamStatementParameter()
BinaryStreamStatementParameter(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(int parameterIndex, java.sql.PreparedStatement statement, AdaptrisMessage msg)
Apply this statement parameter to thePreparedStatement
.BinaryStreamStatementParameter
makeCopy()
Make a copy of the statement parameter.-
Methods inherited from class com.adaptris.core.services.jdbc.NamedStatementParameter
getName, setName
-
-
-
-
Method Detail
-
apply
public void apply(int parameterIndex, java.sql.PreparedStatement statement, AdaptrisMessage msg) throws java.sql.SQLException, ServiceException
Description copied from interface:JdbcStatementParameter
Apply this statement parameter to thePreparedStatement
.- Parameters:
parameterIndex
- the index in thePreparedStatement
statement
- thePreparedStatement
msg
- the AdaptrisMessage- Throws:
java.sql.SQLException
- on exceptionServiceException
-
makeCopy
public BinaryStreamStatementParameter makeCopy()
Description copied from interface:JdbcStatementParameter
Make a copy of the statement parameter.- Returns:
- a copy (might be a clone, it might not).
-
-