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

Does hibernate save use bind variables?  RSS feed

 
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-
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!