db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: select count(*) == ClassCastException:CountAggregator
Date Wed, 01 Mar 2006 22:47:37 GMT
Andrew McIntyre wrote:
> 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:
> 
> http://issues.apache.org/jira/browse/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.

If it can be summarized succinctly, it'd be great as an FAQ. Otherwise,
how about the Derby Wiki -- http://wiki.apache.org/db-derby/ ? We could
start a user tips page.

 -jean


Mime
View raw message