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.
--
View this message in context:
http://www.nabble.com/Camel-1.2-JPA-consumer-broken--tp15823400s22882p15826587.html
Sent from the Camel - Users mailing list archive at Nabble.com.