I'd like to have a java example
> without spring if I can get such a thing working.
>
> Thanks
> Jay
--
View this message in context:
http://camel.465427.n5.nabble.com/Follow-on-to-configuring-persistence-with-java-not-spring-xml-tp5722984p5723026.html
Sent from the Camel - Users mailing list archive at Nabble.com.
atic for the application, and then define
>> the routes dynamically with java DSL, but I'd like to have a java example
>> without spring if I can get such a thing working.
>>
>> Thanks
>> Jay
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Follow-on-to-configuring-persistence-with-java-not-spring-xml-tp5722984p5723026.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
On Tue, Nov 20, 2012 at 12:19 PM, Claus Ibsen wrote:
>
> I think LocalContainerEntityManagerFactoryBean is meant for people
> using Spring XML style.
> At least Spring has this concept for xxxFactoryBean to turn XML into a bean.
>
It is designed for that, but I've successfully used it in non-spri
On Tue, Nov 20, 2012 at 4:27 AM, Jay Walters wrote:
> My reading of the spring xml makes me think java such as shown below will
> configure the EntityManagerFactory
>
> JpaVendorAdapter jpaAdapter = new HibernateJpaVendorAdapter();
> BasicDataSource dataSource = new BasicDataSource();