File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Display Affected rows. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Display Affected rows." Watch "Display Affected rows." New topic
Author

Display Affected rows.

Mee Kar Suu
Greenhorn

Joined: Dec 25, 2011
Posts: 11

update t_handy_terminal
set process_id = '12'


[SQL] update t_handy_terminal
set process_id = '12'

Time: 0.266ms

Affected rows: 124

When I run query,affected rows is 124.
I use PostgreSQL and ibatis.
How to get affected rows count 124 to show JSF.

anyway thanks,
Mee.
 
IntelliJ Java IDE
 
subject: Display Affected rows.
 
Threads others viewed
problem in getting the number of rows updated with the UPDATE statement
stmt.getUpdateCount
for loop demo
[Hibernate] Batch update returned unexpected row count
Batch Processing of Queries with PreparedStatement
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture