| Anonymous | Login | Signup for a new account | 11-06-2025 14:20 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
| Status | closed | Product Version | 3.0.18 | ||||||
| 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? |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |