code: protected RemoteStatements updateNextValueQuery(NextValueRequest request) {
  		return request.getKey().getMetadata().getType() == IdSourceType.TABLE
  				? getTableQuery( request )
  				: getSequenceIncrementQuery( request );
  	}
docs: /*
  This will always return 2 statements: the first one to acquire a lock and the second one to update the sequence value