• Post Reply Bookmark Topic Watch Topic
  • New Topic

Viewing # of rows updated by Hibernate DML

 
Chase Bonham
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate 2.0

<property name="show_sql">true</property>

I can use that to see the DML issued. But is there a way to check
how many rows were updated by the DML?
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you execute the DML, it should return the number of rows affected?

Mark
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!