title: Reverse engineering Oracle database using Hibernate Tools in Eclipse
body: <p>I am using <code>Eclipse Luna</code> and have added the <code>Hibernate Tools</code>. I wanted to <code>Reverse Engineer</code> my <code>Oracle</code> database. I tried the same steps using <code>MySQL</code> and was successful.</p>
  
  <p>I also tried <code>Revese Engineering</code> in <code>Netbeans</code> for my <code>Oracle</code> schema and was successful.</p>
  
  <p>As I would like to develop my applications in the <code>STS</code> environment, I want to go with <code>Eclipse</code> or <code>Spring STS</code>. My tables were designed years before and are related to a legacy application that I would like to upgrade to <code>Spring</code>.</p>
  
  <ol>
  <li>In the <code>Database Connections</code>perspective I can see my <code>Oracle</code> database and the schemas.</li>
  <li>In the <code>Hibernate</code> perspective, I could generate my hibernate.cfg.xml file as below:
  <a href="http://pastebin.com/RDAmGukq" rel="nofollow">http://pastebin.com/RDAmGukq</a></li>
  </ol>
  
  <p>Here is the tutorial that I followed:<br>
  <a href="http://www.mkyong.com/hibernate/how-to-generate-code-with-hibernate-tools/" rel="nofollow"><em>How to generate Hibernate mapping files &amp; annotation with Hibernate Tools</em></a>.</p>
  
  <p>My problem is that in the <code>Hibernate Configurations</code> view I cannot see my Database. So if I try to proceed to generate the <code>hibernate.reveng.xml</code> it will generate an empty file, with no tables to generate my mapped POJOs.</p>
  
  <p>What I can conclude is that my <code>Hiberbate Configuration</code> is failing.  </p>
  
  <p>Please help.</p>