Opened 11 years ago
Closed 10 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.
Note:
See TracTickets
for help on using tickets.
Fixed in changeset:6b8a9345b0de3115dbb91e528179d236f5378262