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

    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
    Posts
    2,571
    Rep Power
    8

    Default

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