db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: select count(*) == ClassCastException:CountAggregator
Date Wed, 01 Mar 2006 22:40:56 GMT
On 3/1/06, Chris Newell <Chris.Newell@xelorsoftware.com> wrote:
> The problem was:
> -------------------------
> This issue arises when executing the statement "select count(*) from
> DEFAULT_SCHEMA.general_events". If I execute it using a datasource from the
> Tomcat pool I got the exception: 'java.lang.ClassCastException:
> org.apache.derby.impl.sql.execute.CountAggregator' was
> thrown while evaluating an expression. When I execute nearly identical code
> loading the driver myself I got a proper response.

Hi Chris,

This problem is filed in JIRA as DERBY-997:


I'm wondering if there is something we could do to make the cause of
this problem more understandable, and the solution easier to find.
This may be a good issue for the FAQ.


View raw message