Hibernate is able to handle multiple cursors?

there's Takako hranica in the database
<CREATE FUNCTION myfunc(refcursor, refcursor) RETURNS SETOF refcursor AS $$
BEGIN
 OPEN $1 FOR SELECT * FROM goods;
 RETURN NEXT $1;
 OPEN $2 FOR SELECT * FROM markets;
 RETURN NEXT $2;
END;
$$ LANGUAGE plpgsql;


As it can be cause, process and sumapit with hibenate?
In situations when the database returns a single cursor, everything is clear, but what if several of them? To use plain jdbc?)
March 23rd 20 at 19:06
1 answer
March 23rd 20 at 19:08
Solution
Krcmar

Find more questions by tags HibernateJavaPostgreSQL