• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can we insert data into database in Stored procedures Using Hibernate

 
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!