Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1063 | major | always | 04-20-06 04:48 | 09-01-06 10:27 | |
|
|||||
Reporter: | keith | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.18 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.0 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|