openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piltrafeta <>
Subject Call Stored Procedures hibernate annotations
Date Fri, 28 Nov 2008 15:18:04 GMT

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
   .setParameter(0, container) 
   .setParameter(1, user) 

Thanks in advance!

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message