Code example for PreparedStatement

Methods: setNull

    public void bindNull(int index) {
		try { 
			// SQLite ignores typecode 
			// typecode is also ignored in H2 when using the two parameter setNUll() 
		} catch (SQLException e) {
			throw new RuntimeException(e);
     * Bind a long value to this statement. The value remains bound until 
     * {@link #clearBindings} is called. 
     * @param index The 1-based index to the parameter to bind 
     * @param value The value to bind 
    public void bindLong(int index, long value) {