Opened 11 years ago

Closed 11 years ago

#781 closed defect (fixed)

Wrong parameters detection in RasOQLQuery

Reported by: Veranika Liaukevich Owned by: Veranika Liaukevich
Priority: major Milestone:
Component: java Version: development
Keywords: Cc:
Complexity: Easy

Description

rasj OQLQuery doesn't detect query parameters correctly:

 OQLQuery q = impl.newOQLQuery();
 q.create("select $1");
 q.bind(12);
 q.execute();

Exception:

org.odmg.QueryParameterCountInvalidException: 0 variable(s) in the query string vs. 1 parameter(s) bound to the query.

Change History (1)

comment:1 by Veranika Liaukevich, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.