public <RH extends CheckedConsumer<? super K>> RH create(final T value, final RH keyConsumer) throws DataAccessException {
        return
            jdbcTemplate.execute(new ConnectionCallback<RH>() {
                @Override
                public RH doInConnection(Connection connection) throws SQLException, DataAccessException {
                    return crud.create(connection, value, keyConsumer);
                }
            });
    }
public < RH extends CheckedConsumer < ? super K > > RH create ( final T value , final RH keyConsumer ) throws DataAccessException { return jdbcTemplate . execute ( new ConnectionCallback < RH > ( ) { @ Override public RH doInConnection ( Connection connection ) throws SQLException , DataAccessException { return crud . create ( connection , value , keyConsumer ) ; } } ) ; }
insert value into the db through the specified connection.
Callback keyConsumer with the generated key if one was.

@param value       the value
@param keyConsumer the key consumer
@param <RH>        the type of keyConsumer
@return the keyConsumer
@throws DataAccessException