Results 1 to 2 of 2
  1. #1
    mike_ledis is offline Member
    Join Date
    Mar 2010
    Rep Power

    Default How many record a query can modify?

    Hallo. Supposed that i hava turned off my database autocommit mode. Is there anyway to know how many records my query is going to modify before i commit each query?

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


    Look at the API docs. What does executeUpdate return? What do the API docs say that that result means?

    There is your answer.

Similar Threads

  1. modify XML file
    By Fireholder in forum Advanced Java
    Replies: 1
    Last Post: 04-19-2011, 10:06 AM
  2. Modify JOptionPane
    By GodSon in forum AWT / Swing
    Replies: 0
    Last Post: 12-30-2010, 04:46 PM
  3. How can I Modify set method?
    By Ms.Ranjan in forum New To Java
    Replies: 5
    Last Post: 04-21-2009, 11:16 PM
  4. Modify A* Algorithm
    By prakharbirla in forum Advanced Java
    Replies: 1
    Last Post: 02-13-2008, 07:25 PM
  5. Query with 1 record vs. multiple records
    By anderma8 in forum JDBC
    Replies: 5
    Last Post: 07-10-2007, 12:33 AM

Posting Permissions

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