Anonymous | Login | Signup for a new account | 12-17-2024 11:58 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001063 | [Resin] | major | always | 04-20-06 04:48 | 09-01-06 10:27 | ||||
Reporter | keith | View Status | public | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.0 | Product Version | 3.0.18 | ||||
Product Build | |||||||||
Summary | 0001063: EJB3 QL support incomplete, no support for setting parameters on queries | ||||||||
Description |
Substitution of parameters is not in 3.0.18 Sample code: queryString = "SELECT o FROM Audit o WHERE o.client = 'alice' AND (o.time > :mytime )" Query query = em.createQuery(queryString); query.setParameter("mytime", time, TemporalType.TIME); audits = (List<Audit>) query.listResults(); Generates a stack trace. looking at the src its clear this is not complete yet. resin-3.0.18/modules/resin/src/com/caucho/amber/ejb3/QueryImpl.java /** * Sets a date parameter. */ public Query setParameter(String name, Date value, TemporalType type) { return this; } When is this expected? |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |