cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ksenia Khailenko (JIRA)" <>
Subject [jira] Created: (CAY-1452) EJBQL query scalar result is not supported
Date Tue, 22 Jun 2010 14:15:56 GMT
EJBQL query scalar result is not supported

                 Key: CAY-1452
             Project: Cayenne
          Issue Type: Bug
          Components: ROP
    Affects Versions: 3.0
            Reporter: Ksenia Khailenko
            Priority: Minor
             Fix For: 3.0

On EJBQL query from the client:"Select count(a) from Artist a", there is failed:

   [java] java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.cayenne.Persistent
     [java] 	at org.apache.cayenne.access.ClientServerChannelQueryAction.toClientObjects(
     [java] 	at org.apache.cayenne.access.ClientServerChannelQueryAction.interceptObjectConversion(
     [java] 	at org.apache.cayenne.access.ClientServerChannelQueryAction.execute(
     [java] 	at org.apache.cayenne.access.ClientServerChannel.onQuery(
     [java] 	at org.apache.cayenne.remote.service.DispatchHelper.dispatch(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message