Results 1 to 3 of 3
  1. #1
    diamonddragon is offline Senior Member
    Join Date
    Jan 2012
    Posts
    210
    Rep Power
    3

    Default Type_forward_only

    Say there is ResultSet object:


    Java Code:
    ...
    Statement stmt = conn.createStatement
                    (ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("select * from databaseX.tablex");
    ...
    Can I do this?
    Java Code:
    rs.relative(5);
    rs.relative(-3);

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default Re: Type_forward_only

    What does the API say?

  3. #3
    diamonddragon is offline Senior Member
    Join Date
    Jan 2012
    Posts
    210
    Rep Power
    3

    Default Re: Type_forward_only

    Quote Originally Posted by Tolls View Post
    What does the API say?
    API says it can not, but IDE says it can.
    Who should I believe?

Posting Permissions

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