SQL Result set mapping with Stored Procedure Query having multiple result sets

Description

Tried mapping the multiple result sets from stored procedure call to corresponding constructor-result/entity-result. Unfortunately, only the columns from the first result set is mapped, for other constructor-result , it throws invalid column name 'xxx'.

i.e. the store proc contains 2 selects and two result sets are returned after its execution
only the the first one is mapped properly to the sql-result-set-mapping, the other one throws
the above exception as it does not find the columns

P.S. hibernate version is 5.0.12.RELEASE

Activity

Show:

sanjeev kumar November 20, 2017 at 10:16 PM

Duplicate

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

Created November 20, 2017 at 9:09 PM
Updated December 5, 2017 at 10:10 AM
Resolved December 5, 2017 at 10:09 AM

Flag notifications