Parameter placeholders cause ParseException


When I add parameter placeholders (question marks) to my SQL query I get a ParseException. I am using XAP 7. Here is an example: new SQLQuery(MyObject.class, "rownum(?, ?) order by message")

And the exception thrown: Caused by: com.j_spaces.jdbc.parser.grammar.ParseException: Encountered " "?" "? "" at line 1, column 94. Was expecting: <integer_literal> ...

Is this a known issue?


Johan Stuyts

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|]{quote}

asked 2009-07-19 13:42:37 -0500

jstuyts gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete