File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate 3 : Storing return value from Stored procedure call

 
Arpit Todi
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to retrieve return value from stored procedure call
called within CUD operations.
eg.
<sql-insert callable="true">{? = call wp_Insert (?)}</sql-insert>

I am calling <sql-insert> using (In spring),

HibernateTemplate.save(usr);
or
session.save(usr);

Here,"wp_Insert" is a stored procedure call and returning value.How to
retrieve that return value?
Is there any other way to have call that custom sql query <sql-insert>.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic