camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Siefert" <siefert.david.mailingl...@gmail.com>
Subject Re: Camel 1.2 JPA consumer broken?
Date Tue, 04 Mar 2008 12:19:34 GMT
On Tue, Mar 4, 2008 at 4:29 AM, pds1602 <paul.soule@ds-s.com> 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 [.].
>
>
> --
> View this message in context:
> http://www.nabble.com/Camel-1.2-JPA-consumer-broken--tp15823400s22882p15823400.html
> Sent from the Camel - Users mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>

I do not have any experience with Oracle TopLink (I use Hibernate), but have
you tried this without the package name, and just using the JPA entity name
(either the name in @Entity, or class name alone--the default)?

-David

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message