Opened 3 years ago

Closed 3 years ago

#781 closed defect (fixed)

Wrong parameters detection in RasOQLQuery

Reported by: vliaukevich Owned by: vliaukevich
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 Changed 3 years ago by vliaukevich

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.