• Post Reply Bookmark Topic Watch Topic
  • New Topic

Viewing # of rows updated by Hibernate DML  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!