I am new to Hibernate
Here my problem is I know how to call stored procedures of mssql using hibernate, so here I used native queries and I am calling this
@NamedNativeQueries({
@NamedNativeQuery(
name = "callProc",
query = "EXEC SimpleProc :var,:var1,:var2,
resultClass = resultbean.class
)})
Here I have a procedure named let it be MultiResultProc like
Create Procedure MultiResultProc
.....
begin
select * from resulttable1;
select * from resulttable2;
select * from resulttable3;
end
So How to sepeciy these multple resultclass, when I google in some where I found that Hibernate will not handle Multiple Result Sets of Sybase and MSSQL db's.
But I need that type of work... here my project have that type of multiple procedures and we can't design again.
**So Please Help me **