Base problem: I'm not getting any information out of the DB when I try to reverse engineer. (I may be utterly confused about how reverse engineering is meant to work, so the real problem might be elsewhere entirely.)
I have Eclipse with hibernate-tools installed.
I walked through the wizards for hibernate.cfg.xml and console configuration. I didn't know what to enter for "Session Factory Name" or "Default Catalog", so I left them empty.
The generated hibernate.cfg.xml looks like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.password">xxxx</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@xxx:1521:xxx</property>
<property name="hibernate.connection.username">xxxx</property>
<property name="hibernate.default_schema">XXXX</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle9iDialect</property>
</session-factory>
</hibernate-configuration>
Now when I open Hibernate Configuration, I get no subentries under "Configuration" or "Session Factory", and a permanent "Pending..." under database.
The wizard for hibernate.reveng.xml gives me the same perma-"Pending..." under "Database schema:" if I click "Refresh" (after selecting the proper console configuration).
In both cases, I get a permanent "Fetching children of Database" entry in the Progress view and nothing in the Eclipse logfile.
What's wrong?