Derby
  1. Derby
  2. DERBY-2317

Difference in the cursor.getcursorName behaviour between n/w server and embedded mode, where embedded retuns null and n/w server returns the cursor name

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: None
    • Component/s: Network Server
    • Urgency:
      Normal
    • Issue & fix info:
      Repro attached
    • Bug behavior facts:
      Embedded/Client difference

      Description

      Please find the attached small java test which gives you the different behaviour. Please find the following mail thread which says the embedded mode's behaviour is correct.

      http://mail-archives.apache.org/mod_mbox/db-derby-dev/200702.mbox/%3cwjo8r6sz8zku.fsf@sun.com%3e

      To run the test in the embedded mode

      java TestCursor embedded

      in n/w server ( have to start the server seperately)

      java TestCursor NetworkServer

      1. TestCursor.java
        7 kB
        Manjula Kutty

        Activity

        Hide
        Manjula Kutty added a comment -

        attaching the test file

        Show
        Manjula Kutty added a comment - attaching the test file
        Hide
        Manjula Kutty added a comment -

        once this issue gets fixed, please make the CurrentOfTest.java runnable under n/w server.

        please uncomment the following line in the test

        //To run the test in both embedded and client/server mode
        //commenting it for the time being sicne the test fails in the client/server mode
        //return TestConfiguration.defaultSuite(CurrentOfTest.class);

        And comment the following line
        return suite;

        Show
        Manjula Kutty added a comment - once this issue gets fixed, please make the CurrentOfTest.java runnable under n/w server. please uncomment the following line in the test //To run the test in both embedded and client/server mode //commenting it for the time being sicne the test fails in the client/server mode //return TestConfiguration.defaultSuite(CurrentOfTest.class); And comment the following line return suite;
        Hide
        Rick Hillegas added a comment -

        Triaged for 10.5.2: assigned normal urgency, noted that a repro is attached, flagged as embedded/client difference.

        Show
        Rick Hillegas added a comment - Triaged for 10.5.2: assigned normal urgency, noted that a repro is attached, flagged as embedded/client difference.

          People

          • Assignee:
            Unassigned
            Reporter:
            Manjula Kutty
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development