[#4254] Make sure PostgreSQL routines can work with data type Bindings
This commit is contained in:
parent
0332314c7f
commit
7cdbe165f6
@ -327,7 +327,12 @@ public abstract class AbstractRoutine<T> extends AbstractQueryPart implements Ro
|
||||
|
||||
private final int executeSelectFromPOSTGRES() {
|
||||
DSLContext create = create(configuration);
|
||||
Result<?> result = create.select().from("{0}", asField()).fetch();
|
||||
|
||||
List<Field<?>> fields = new ArrayList<Field<?>>();
|
||||
for (Parameter<?> p : outParameters)
|
||||
fields.add(DSL.field(DSL.name(p.getName()), p.getDataType()));
|
||||
|
||||
Result<?> result = create.select(fields).from("{0}", asField()).fetch();
|
||||
|
||||
int i = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user