om" is
> a reserved word in JPQL.
>
>
>
> -
> Pinaki
> --
> View this message in context:
> http://n2.nabble.com/Timestamp-in-JPQL-where-clause-issue-tp3332190p550.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
Hi,
Can you please change the parameter name "from" to something else?
The error is during parse and may have be related to the fact that "from" is
a reserved word in JPQL.
-
Pinaki
--
View this message in context:
http://n2.nabble.com/Timestamp-in-JPQ
And I used OpenJPA 1.2.1.
-Yu Wang
On Mon, Jul 27, 2009 at 2:20 PM, wang yu wrote:
> Hello,
> I met an OpenJPA Timestamp filed in JPQL where clause issue.
> I used it as:
> EntityManagerFactory factory =
> Persistence.createEntityManagerFactory(
> "t
Hello,
I met an OpenJPA Timestamp filed in JPQL where clause issue.
I used it as:
EntityManagerFactory factory =
Persistence.createEntityManagerFactory(
"test", System.getProperties());
String sql= "SELECT callpath FRO