Use ResultSetMapping from ProcedureCall instead of creating a new one
This commit is contained in:
parent
7e92c29515
commit
8df7a3ab16
|
@ -986,4 +986,7 @@ public class ProcedureCallImpl<R>
|
|||
return getResultList().stream();
|
||||
}
|
||||
|
||||
public ResultSetMapping getResultSetMapping() {
|
||||
return resultSetMapping;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -155,9 +155,10 @@ public class OutputsImpl implements Outputs {
|
|||
jdbcStatement,
|
||||
resultSet
|
||||
);
|
||||
ResultSetMapping resultSetMapping = new ResultSetMappingImpl( null );
|
||||
|
||||
final ProcedureCallImpl procedureCall = (ProcedureCallImpl) context;
|
||||
final ResultSetMapping resultSetMapping = procedureCall.getResultSetMapping();
|
||||
|
||||
final JavaTypeDescriptorRegistry javaTypeDescriptorRegistry = context.getSession()
|
||||
.getTypeConfiguration()
|
||||
.getJavaTypeDescriptorRegistry();
|
||||
|
|
Loading…
Reference in New Issue