I’ve made a saved process that returns a number of resultsets from a number of tables. Due to this fact every resultset is made out of various columns. These resultsets are retrieved by an
ProcedureOutputs object from the
Hibernate framework. The primary resultset is retrieved with no issues, nevertheless Hibernate tries to map the resultsets after that utilizing the column set from the primary resultset. This leads to the error
2020-04-26 21:28:55.112 ERROR 22164 --- [nio-8080-exec-1] o.h.engine.jdbc.spi.SqlExceptionHelper : Column 'firstColumnFromFirstResultSet' not discovered.
firstColumnFromFirstResultSet is an instance right here.
My query is: Is there any solution to let Hibernate know that every resultset is exclusive and that it should not attempt to map the second resultset primarily based on the columns of the primary resultset?