I'm using hibernate annotations and i'd like to use a stored procedure which
returns a resultset.
I kow to do it whit hbm files but i'd like directly by createSQLQuery.

Maybe something like this is possible:
List list = session.createSQLQuery("call
PK_TRUCK_APPOINT_ORDER.FN_TRABA_CHKCTR_resulset(?,?)")
   .setParameter(0, container) 
   .setParameter(1, user) 
   .list();

Thanks in advance!

-- 
View this message in context: 
http://n2.nabble.com/Call-Stored-Procedures-hibernate-annotations-tp1589541p1589541.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to