select m
from ClassM m
where m.dtval >= '2008-01-01 23:12:09' and m.dval < '2008-02-01'
This makes dynamic query generation somewhat simpler than having to use and set date parameters within the Query object (my original approach).
select m
from ClassM m
where m.dtval >= '2008-01-01 23:12:09' and m.dval < '2008-02-01'
cvs -q diff
cvs -q update
concat(str1, str2)
substring(str, start, length)
length(str)
trim(str)
select a
from ClassA a
where to_number(a.val) > 10 and to_number(a.val) < 300
select a
from ClassA a
where substring(concat('000000000000000',trim(a.val)),length(trim(a.val),16)
> '0000000000000010'
and substring(concat('000000000000000',trim(a.val)),length(trim(a.val),16)
< '0000000000000300'