openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wanyna <>
Subject How to write it in JPQL
Date Wed, 10 Jan 2007 08:12:52 GMT

Hi all.
I have two questions:
Here is my sql string:
select 'xxx', TABLE_A.column1 from TABLE_A;
there is a string 'xxx' as a constant value, 
how to translate it to JPQL?

Another sql used under oracle:
select TABLE_A.column1 from TABLE_A where rownum<10;
how to limit range of result in JPQL or jpa?

View this message in context:
Sent from the open-jpa-dev mailing list archive at

View raw message