Code example for PreparedStatement

Methods: setBytes

0
        if (value == null) {
            throw new IllegalArgumentException("the bind value at index " + index + " is null");
        } 
        checkDatabaseIsOpen(); 
        try { 
			actualDBstatement.setBytes(index,value);
		} catch (SQLException e) {
			throw new RuntimeException(e);
		} 
 
    } 
 
    /** 
     * Clears all existing bindings. Unset bindings are treated as NULL. 
     */ 
    @Implementation 
    public void clearBindings() { 
    	checkDatabaseIsOpen(); 
    	 
    	try { 
			actualDBstatement.clearParameters();