2007/9/12, GEDA <[EMAIL PROTECTED]>:
>
>
> Hi. I am using Spring, Struts 2, Hibernate and Oracle as DB. Until now
> everything worked ok since I only needed full entity objects but now I
> have
> to call some stored functions from the DB using the hibernate api. Until
> now
> I have used the following syntax: Query q =
> getEntityManager().createQuery().
>
> Can you give me an example please on how to call a stored function ?



Ooookaaaayy let's say altogether:
this is a Struts forum, not an Hibernate forum!
And BTW, I think this page can help:
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#sp_query
(please do not reply to this email).

Antonio

Reply via email to