@Override public void bind(CallableStatement statement, int position, Scope queryScope) { RuntimeSQLException.execute( () -> { statement.registerOutParameter(position, Types.LONGVARCHAR); queryScope.add(() -> this.value = statement.getString(position)); }); }
@Override public void bind(CallableStatement statement, int position, Scope queryScope) { RuntimeSQLException.execute( () -> { statement.registerOutParameter(position, Types.TINYINT); queryScope.add( () -> this.value = SQLResultReaders.returnValueOrNull( statement, position, CallableStatement::getByte)); }); }