| Author |
Hibernate / Stored Procedure / Reporting
|
Hanna Habashy
Ranch Hand
Joined: Aug 20, 2003
Posts: 532
|
|
I need to call some stored procedure for reporting. The Store Proc. DO NOT return an entity, so I cannot configure them as name queries in a configuration files.
The only way I know is to:
The session.connection() method is deprecated, and I couldn't find any other way of obtaining a connection object.
Please advise how to obtain a connection object, and if there is any other way of calling a stored procedure.
Thanks
|
SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
|
 |
Justin Chi
Greenhorn
Joined: Sep 09, 2009
Posts: 25
|
|
To get the connection:
|
 |
 |
|
|
subject: Hibernate / Stored Procedure / Reporting
|
|
|