Hi,

I'm stuck with the following problem. The following components :
- camel-bam,
- camel-jpa,
- camel-example-etl,
- ...

have been designed with JPA specification 1.0 but our implementation uses
Hibernate JPA. Unfortunately, Hibernate has added some extensions.

A good example is the fully qualified name which is used by camel jpa
consumer/producer or in all our select c from Customer.getClass.getName.

The JPA specification does not support this

*******
4.3.1 Naming

Entities are designated in query strings by their entity names. The
entity name is defined by the name
element of the Entity annotation (or the entity-name XML descriptor
element), and defaults to
the unqualified name of the entity class. Entity names are scoped
within the persistence unit and must be
unique within the persistence unit.
******

and in consequence, switching from Hibernate to EclipseLink JPA, OpenJPA,
... is not possible today.

Any suggestion are welcome to identify the best approach to improve our
components ?

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm

Reply via email to