-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Error under artifact generation using hibernate synchronizer
PostPosted: Thu Apr 28, 2005 3:25 am 
Newbie

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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.