private static void setBlob ( PreparedStatement ps , int i , Object o , Class < ? > cls ) throws SQLException { final InputStream is ; if ( o instanceof byte [ ] ) { is = new ByteArrayInputStream ( ( byte [ ] ) o ) ; }
Sets a blob parameter for the prepared statement .