• Post Reply Bookmark Topic Watch Topic
  • New Topic

Does hibernate save use bind variables?

 
Andy Hahn
Ranch Hand
Posts: 225
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our DBA noticed some performance issues and ask if Hibernate used bind variables. I thought so but he checked the output from the Oracle logs and it doesnt look like it does, meaning it shows a plain insert into table () values();

If no, is there a way to make hibernate use bind variables on Session.save??

Thanks-
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!