Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: 10.5.1.1
    • Component/s: JDBC
    • Labels:
      None

      Description

      A set of state information is required about byte streams representing characters to be able to handle them properly.

      The basic pieces of information are:

      • is bufferable
      • is position aware
      • data offset
      • current byte position
      • current char position
      • byte length
      • char length

      Additional info:

      • encoding
      • max allowed length
      • bytes per char information

      The information is chosen with UTF8Reader in mind, and the plan is to pass a CharacterStreamDescriptor instance to the constructor to allow the reader to configure itself appropriately. The information is expected to be valid only at a specific point in time, as some of it will change as soon as the reader starts working with the underlying stream.

      1. derby-3936-1a-CharacterStreamDescriptor.diff
        15 kB
        Kristian Waagan
      2. derby-3936-1b-CharacterStreamDescriptor.diff
        16 kB
        Kristian Waagan
      3. derby-3936-2a-temp_fix.diff
        0.6 kB
        Kristian Waagan
      4. derby-3936-3a-javadoc-1.diff
        5 kB
        Kristian Waagan
      5. derby-3936-4a-streamref_and_copy.diff
        13 kB
        Kristian Waagan
      6. derby-3936-4b-streamref_and_copy.diff
        13 kB
        Kristian Waagan

        Activity

        Kristian Waagan created issue -
        Kristian Waagan made changes -
        Field Original Value New Value
        Component/s JDBC [ 11407 ]
        Affects Version/s 10.5.0.0 [ 12313010 ]
        Description A set of state information is required about byte streams representing characters to be able to handle them properly.

        The basic pieces of information are:
         - is bufferable
         - is position aware
         - data offset
         - current byte position
         - current char position
         - byte length
         - char length

        Additional info:
         - encoding
         - max allowed length
         - bytes per char information

        The information is chosen with UTF8Reader in mind, and the plan is to pass a CharacterStreamDescriptor instance to the constructor to allow the reader to configure itself appropriately. The information is expected to be valid only at a specific point in time, as some of it will change as soon as the reader starts working with the underlying stream.
        Priority Major [ 3 ] Minor [ 4 ]
        Kristian Waagan made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Kristian Waagan made changes -
        Kristian Waagan made changes -
        Derby Info [Patch Available]
        Kristian Waagan made changes -
        Derby Info [Patch Available]
        Kristian Waagan made changes -
        Kristian Waagan made changes -
        Fix Version/s 10.5.0.0 [ 12313010 ]
        Kristian Waagan made changes -
        Attachment derby-3936-2a-temp_fix.diff [ 12394345 ]
        Kristian Waagan made changes -
        Attachment derby-3936-3a-javadoc-1.diff [ 12394853 ]
        Kristian Waagan made changes -
        Attachment derby-3936-4a-streamref_and_copy.diff [ 12395085 ]
        Kristian Waagan made changes -
        Derby Info [Patch Available]
        Kristian Waagan made changes -
        Derby Info [Patch Available]
        Kristian Waagan made changes -
        Attachment derby-3936-4b-streamref_and_copy.diff [ 12395089 ]
        Kristian Waagan made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Kristian Waagan made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Myrna van Lunteren made changes -
        Affects Version/s 10.5.1.1 [ 12313771 ]
        Affects Version/s 10.5.0.0 [ 12313010 ]
        Fix Version/s 10.5.1.1 [ 12313771 ]
        Fix Version/s 10.5.0.0 [ 12313010 ]
        Gavin made changes -
        Workflow jira [ 12445642 ] Default workflow, editable Closed status [ 12799194 ]

          People

          • Assignee:
            Kristian Waagan
            Reporter:
            Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development