On 04/03/2008, pds1602 <[EMAIL PROTECTED]> wrote:
>
>
>
>  James.Strachan wrote:
>  >
>  > On 04/03/2008, pds1602 <[EMAIL PROTECTED]> wrote:
>  >>
>  >>  Trying to consume an entity bean using JPA:
>  >>
>  >>  from("jpa:com.dss.persistence.InTable")
>  >>
>  >>  Results in the following exception:
>  >>
>  >>  Caused by: Exception [TOPLINK-8025] (Oracle TopLink Essentials - 2.0
>  >> (Build
>  >>  b58g-fcs (09/07/2007))):
>  >> oracle.toplink.essentials.exceptions.EJBQLException
>  >>  Exception Description: Syntax error parsing the query [select x from
>  >>  com.dss.persistence.InTable x], line 1, column 18: unexpected token [.].
>  >
>  > Ah - I wonder if TopLink doesn't support fully qualified class names.
>  > This query seems to work fine in OpenJPA and Hibernate.
>  >
>  > I wonder what the magic encoding of the query is for TopLink?  I
>  > thought this JPA stuff was meant to be a standard dammit :)
>  > --
>  > James
>  > -------
>  > http://macstrac.blogspot.com/
>  >
>  > Open Source Integration
>  > http://open.iona.com
>  >
>  >
>
>
> I tried hibernate and it works ok so must be an incompatibility problem with
>  TopLink.

Thanks for letting us know - if any TopLink experts ever figure out
how to do a simple JPA query with it, I'd be grateful :)

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to