-
1. Re: DB persistence tutorial for Fuse ESB?
jasonnh Nov 14, 2012 3:35 AM (in response to freelancersunion)Hi,
I have implemented DB object persistence on FUSE 7.0.2 using:
- hibernate via Spring
- OpenJPA via blueprint
I used the persistence bundles that come with FUSE. I would imagine if you try and start with a custom version of hibernate or OpenJPA you are going to struggle as integrating those is not easy. The same thing with Aries, i.e. I expect upgrading from the one provided in FUSE will have side effects.
The hibernate versions is old and not JPA 2 - I hope someone from RedHat (FUSE) is listening and will give us an updated version that works easily with blueprint!
For example, with OpenJPA via blueprint I installed the following features:
jpa
camel-jpa
jndi
and then the following bundles:
wrap:mvn:
wrap:mvn:net.sourceforge.serp/serp/1.13.1 (workaround needed for OpenJPA)
There is a good tutorial in Part 1 chapter 3 of the "Enterprise OSGi in Action" book called "Persitence pays off".
Also, if you are using fabric please see:
http://fusesource.com/forums/thread.jspa?messageID=15697㵑
And if using property placeholders in your blueprint with jpa camel:
http://fusesource.com/forums/thread.jspa?messageID=15711㵟
-
2. Re: DB persistence tutorial for Fuse ESB?
jasonnh Nov 14, 2012 3:42 AM (in response to jasonnh)I should add that I was unable to get the hibernate provided with FUSE to work with camel-jpa - I used OpenJPA for that.
Edited by: jasonnh on Nov 14, 2012 8:42 AM