Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003
    Posts
    50

    Unanswered: con.setReadOnly(true) versus FOR FETCH ONLY

    Hi

    If I specify con.setReadOnly(true) in my java program, does my database know that I just want to read data, therefore does con.setReadOnly(true) effects the same as FOR FETCH ONLY im a SQL statement?

    Marc

  2. #2
    Join Date
    Sep 2003
    Posts
    19
    It is used to put the 'connection' in a read-only mode and is mainly used for database optimization.

Posting Permissions

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