Results 1 to 3 of 3
  1. #1
    drimades is offline Member
    Join Date
    Mar 2012
    Rep Power

    Default Number of affected rows from update statement

    How can I find the number of rows affected by an update statement:

    stmt.executeUpdate(sqlstring) ?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Number of affected rows from update statement

    What does the API say?

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Rep Power

    Default Re: Number of affected rows from update statement

    To give another hint, the return value of that method has a meaning. According to the api what is that meaning?

Similar Threads

  1. How to update rows in 2 D arrays?
    By udayjava in forum New To Java
    Replies: 2
    Last Post: 02-13-2012, 07:38 AM
  2. Count number of rows
    By Kenan_89 in forum Advanced Java
    Replies: 11
    Last Post: 01-26-2012, 01:52 PM
  3. Update statement gone HeWire
    By _-Blackhawk-_ in forum JDBC
    Replies: 8
    Last Post: 10-06-2011, 12:56 PM
  4. Replies: 4
    Last Post: 03-25-2011, 02:06 PM
  5. Replies: 2
    Last Post: 03-16-2010, 09:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts