Hi Chandan,

Well, I would say that JPQL [1] and HQL [2] are two different things. I
think the query is not correct for Hibernate.

-- Stephan


[1] http://www.objectdb.com/java/jpa/query
[2] http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/queryhql.html

On 20.04.14 16:29, "V.A, Chandan" <[email protected]> wrote:

>Hello Team,
>
>I would like to discuss the issue -
>https://issues.apache.org/jira/browse/OLINGO-240 in the forum.
>
>I would like to check whether the JPQL syntax for date literals are
>supported in Hibernate. Can someone tell is this a valid Query syntax for
>Hibernate based JPA providers, because it works with Eclipse Link based
>JPA providers.
>
>
>
>SELECT E1 FROM au.com.righttime.unity.odata.service.model.Test E1 WHERE
>E1.tradingDate = {ts '2009-12-26 21:23:38.000'}
>
>
>
>Thanks,
>
>Kind Regards
>
>Chandan VA
>
>
>

Reply via email to