Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate / Stored Procedure / Reporting

 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Justin Chi
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get the connection:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic