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

ClassCastException when executing queries with aggregates in app servers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.1.3.1, 10.2.1.6
    • SQL
    • None

    Description

      Classes that implement the aggregates such as MAX/MIN are loaded as user-defined classes due to old support for user-defined aggregates.

      If the class loader setup running Derby is not well set up these classes are loaded in a different class loader space to Derby's class leading to non-comparable classes due to the the same class (dependend or subper-class, not sure which) being loaded twice.

      While this may be a user setup bug, it has occured frequently leading to wasted time resolving the issue, it would be better if Derby ensured its classes were loaded consistently.

      Attachments

        Activity

          People

            djd Daniel John Debrunner
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: