title: JBoss Fuse Hibernate integration
body: <p>I try to develop simple Hibernate integration application in FUSE but could not find good reference document which I can follow. I have go through the <a href="https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.0/html/EIP_Transaction_Guide/files/TxnManagers-Samples-Hibernate.html" rel="nofollow noreferrer">official documentation</a> regarding Hibernate integration but could not able to install the dependencies correctly.</p>
  
  <p>I noticed that hibernate should configured in camel-context file but unfortunately when I add this kind of configuration I'm getting following error. When I try to install my app in to Fuse.</p>
  
  <p><a href="https://i.stack.imgur.com/QCCui.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QCCui.png" alt="enter image description here"></a></p>
  
  <pre><code>Error executing command: Error installing bundles:
      Unable to start bundle mvn:com.activemq.cxf/activemq/1.0.0-SNAPSHOT: Unresolved constraint in bundle DemoActiveMq1 [416]: Unable to resolve 416.0: missing requirement [416.0] osgi.wiring.package; (&amp;(osgi.wiring.package=org.springframework.orm.hibernate3)(version&gt;=3.0.0)(!(version&gt;=4.0.0))) [caused by: Unable to resolve 415.0: missing requirement [415.0] osgi.wiring.package; (&amp;(osgi.wiring.package=org.springframework.dao)(version&gt;=3.0.5)(!(version&gt;=3.0.6)))]
  </code></pre>
  
  <p>But I check there is no version 3.0.5 available for org.springframework.dao. According to the <a href="https://mvnrepository.com/artifact/org.springframework/spring-dao" rel="nofollow noreferrer">this post</a> it's only available 2.0.8 . Please can some one explain how to resolve this issue ? </p>
  
  <p>Following are the dependencies related to Hibernate in my pom(${spring-version}== 3.0.5.RELEASE)</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.springframework&lt;/groupId&gt;
    &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
    &lt;version&gt;${spring-version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.springframework&lt;/groupId&gt;
    &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
    &lt;version&gt;${spring-version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.springframework&lt;/groupId&gt;
    &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
    &lt;version&gt;${spring-version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.springframework&lt;/groupId&gt;
    &lt;artifactId&gt;spring-aop&lt;/artifactId&gt;
    &lt;version&gt;${spring-version}&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-dao&lt;/artifactId&gt;
      &lt;version&gt;2.0.8&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-orm&lt;/artifactId&gt;
      &lt;version&gt;${spring-version}&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>