Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can we insert data into database in Stored procedures Using Hibernate  RSS feed

 
vijay mahendra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have written one store procedure for inserting data into 2 database tables.

hbm as follows:
<sql-query name="insertSaveSearch" callable="true">
{call INSERT_TEST() }
</sql-query>

But its throwing error as : Bind variable does not exist.

Please let me know how to resolve this problem.
Thanks one and all,
Vijay.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!