I'm using apache-servicemix-4.4.1-fuse-07-11 and would like to use Hibernate 4.1.2 in one of my bundles in order to access a relational database.
Since I have added the hibernate-core and javassist dependencies, I have many issues with other dependencies.
I needed to add the following entries in my jre.properties file :
And also the following embedded dependencies in my pom.xml file :
Now, Fuse is still requiring the org.springframework.jdbc.datasource package.
I can see that in the $FUSE_HOME/system/ directory there is already this dependency present but how can I use it in my bundle ?
Do I need to launch some magic command under the Karaf Console ?
$FUSE_HOME/system/ has that bundle doesn't mean that bundle get installed already, $FUSE_HOME/system/ is just a local maven repo which pax-url-mvn firstly go to check.
Ensure you already installed spring-jdbc bundle and your customer bundle import org.springframework.jdbc.datasource package.