LauJensen/clojureql — Issue #117: rownum problem with versions later than 1.0.0
Author: ariel123
Created: 2011-10-20 20:13:33+00:00
State: open

In version 1.0.0 I was able to use rownum to query Oracle with no problem:

(select tbl (where (<= :rownum 2)))

It generated sql that works, i.e.

select mytable.* where rownum <= 2

but with later versions, [clojureql "1.1.0-SNAPSHOT"] the generated sql looks like that and of course it fails:

select mytable.* where mytable.rownum <= 2

Is there a way to fix it?