• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 470
  • Last Modified:

How do you call Functions in Hibernate

I know hoe to call Stored procedures in Hibernate. How do you call functions in Hibernate.
0
prsubject
Asked:
prsubject
2 Solutions
 
Sathish David Kumar NArchitectCommented:
if your using hbm file means you can put some entry there

<sql-query name="SP name " callable="true">  
<return alias="return filed" class="ur pojo class"/>  
 { ? = call hedglet_statuspassing value) }  
   </sql-query>  
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now