ClassCastException when executing queries with aggregates in app servers
------------------------------------------------------------------------
Key: DERBY-997
URL: http://issues.apache.org/jira/browse/DERBY-997
Project: Derby
Type: Bug
Components: SQL
Reporter: Daniel John Debrunner
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira