Joined: Thu Apr 28, 2005 3:14 am Posts: 2
|
I am using hibernate synchronizer with eclipse 3.1M4 and jboss ide 1.4.1 for hibernate 3.0. I have been able to generate hbernate.cfg.xml correctly and also see the hibernate console being properly configured. When I use artifact generation perspective for reverse engineering from jdbc connection, it's running into an exception reported as follows:
Error under artifact generation:
Reason:
org.hibernate.MappingException: Association reference unmapped class: Zx1
My hibernate.cfg.xml is as below:
<?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.show_sql">true</property>
<property name="hibernate.connection.username">dev</property>
<property name="hibernate.connection.password">dev</property>
<property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@engdbdev1.verisign.com:1521:payd</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.default_schema">PAY</property>
</session-factory>
</hibernate-configuration>
Any insight? I also am wondering if there's any way I can restrict the tables that should be inspected for reverse engineering by specifying anything in hibernate.cfg.xml?
|
|