Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-412

Connection toString should show type information and the meaning of the identifier that it prints

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.1.1.0, 10.2.1.6
    • 10.2.1.6
    • JDBC
    • None

    Description

      After the change for DERBY-243 the connection toString() output is an integer which correspond to SESSIONID. The output should identify the type and also the meaning of the identifier that it prints. Perhaps a format that appends the default toString output with the sessionid information as it prints in the derby.log would be more informative.

      org.apache.derby.impl.jdbc.EmbedConnection@efd552 (SESSONID = 2)

      Ultimately this could be expanded to included other diagnostic information e.g

      org.apache.derby.impl.jdbc.EmbedConnection@efd552 (XID = 132), (SESSIONID = 5), (DATABASE = wombat), (DRDAID = NF000001.H324-940125304405039114

      {7}

      )

      Attachments

        Activity

          People

            davidvc David Van Couvering
            kmarsden Katherine Marsden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: