Hi Claus,

thank you for your resourceful remarks.

I am now facing a new problem. The JPA component creates a
org.springframework.orm.jpa.JpaTransactionManager on its own - which
conflicts quite badly with the JTA environment of an EJB container. Is there
any built-in facility to a more declarative transaction handling here? A
RFE?

Kindly appreciate your help,
Frank




Claus Ibsen-2 wrote:
> 
> Yeah sure overload the jpa component and set the entity manager factory.
> 
> <bean id="jpa" class="org.apache.camel.component.jpa.JpaComponent">
>   <property name="entityManagerFactory" ref="myEMFactory"/>
> </bean>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JPA-component-in-a-JEE5-environment-tp23149492p23154576.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to