Class BlobInputStreamArgumentFactory.LobInputStreamArgument

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.InputStream value  
    • Constructor Summary

      Constructors 
      Constructor Description
      LobInputStreamArgument​(java.io.InputStream value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(int pos, java.sql.PreparedStatement stmt, StatementContext ctx)
      Apply the argument to the given prepared statement.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        private final java.io.InputStream value
    • Constructor Detail

      • LobInputStreamArgument

        LobInputStreamArgument​(java.io.InputStream value)
    • Method Detail

      • apply

        public void apply​(int pos,
                          java.sql.PreparedStatement stmt,
                          StatementContext ctx)
                   throws java.sql.SQLException
        Description copied from interface: Argument
        Apply the argument to the given prepared statement.
        Specified by:
        apply in interface Argument
        Parameters:
        pos - the position to which the argument should be bound, using the stupid JDBC "start at 1" bit
        stmt - the prepared statement the argument is to be bound to
        ctx - the statement context
        Throws:
        java.sql.SQLException - if anything goes wrong