title: Eclipse - JBoss (Hibernate) tools not showing any tables
body: <p>I want to use JBoss tools in Eclipse to generate java code from DDL.
  I am using the following:
  Oracle XE
  Eclipse Helios (SpringSource version)
  JBoss Tools</p>
  
  <p>I've configured the hibernate.cfg.xml (as below) and created a sample application to insert and update records in XE and it works fine.</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE hibernate-configuration PUBLIC
        "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;
  &lt;hibernate-configuration&gt;
      &lt;session-factory&gt;
          &lt;property name="hibernate.connection.driver_class"&gt;oracle.jdbc.driver.OracleDriver&lt;/property&gt;
          &lt;property name="hibernate.connection.url"&gt;jdbc:oracle:thin:@localhost:1521:xe&lt;/property&gt;
          &lt;property name="hibernate.connection.username"&gt;admin&lt;/property&gt;
          &lt;property name="hibernate.connection.password"&gt;admin&lt;/property&gt;
          &lt;property name="hibernate.default_schema"&gt;users&lt;/property&gt;
          &lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.Oracle10gDialect&lt;/property&gt;
          &lt;property name="hibernate.hbm2ddl.auto"&gt;update&lt;/property&gt;
          &lt;mapping resource="users.hbm.xml"/&gt;
      &lt;/session-factory&gt;
  
  &lt;/hibernate-configuration&gt;
  </code></pre>
  
  <p>But when I select (in hibernate perspective) File->New->Hibernate console configuration, I get the following in the "Hibernate Configurations" window:</p>
  
  <pre><code>-Console
      +Configuration
      +Session Factory
      +Database
  </code></pre>
  
  <p><em><strong>Expanding the "Database" above shows "pending" for few seconds and then shows nothing. I expecting it to show the table names. I am struggling to find out the reason. There are no exceptions\errors in any of the log files, nothing on console, all XE services are running, hibernate configuration is correct because my sample app works.</em></strong></p>
  
  <p>While creating the "console configuration" I created a new database connection and have done the "Test connection" and it shows "Ping successfully" message. I've used the following in the configuration:</p>
  
  <pre><code>hibernate.connection.url           jdbc:oracle:thin:@localhost:1521:xe
  hibernate.dialect                           org.hibernate.dialect.Oracle10gDialect
  hibernate.connection.driver_class   oracle.jdbc.OracleDriver
  </code></pre>
  
  <p>Any help is appreciated. Thanks.</p>