Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001215 [Resin] minor always 06-25-06 18:58 08-31-06 20:05
Reporter fbertra View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.0.19
Summary 0001215: Amber: implement the "select new" clause
Description This EJB-QL query

"select new cl.fbd.SectorImp (s.sector, count(s)) from SuscripcionBean s group by s.sector"

generate the following error:

com.caucho.amber.AmberRuntimeException: 'new' is an unknown field of 'SuscripcionBean'.
    at com.caucho.amber.query.AbstractPathExpr.createField(AbstractPathExpr.java:52)
    at com.caucho.amber.query.QueryParser.parseSimpleTerm(QueryParser.java)
Additional Information
Attached Files

- Relationships

- Notes
(0001493)
westrupp
08-31-06 20:05

Implemented and tested (jpa/11a4). (Rodrigo Westrupp)
 

- Issue History
Date Modified Username Field Change
06-25-06 18:58 fbertra New Issue
08-31-06 20:05 westrupp Status new => closed
08-31-06 20:05 westrupp Note Added: 0001493
08-31-06 20:05 westrupp Resolution open => fixed
08-31-06 20:05 westrupp Fixed in Version  => 3.1.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker