-->
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.  [ 3 posts ] 
Author Message
 Post subject: Internal error occured during: "Fetching children of ..
PostPosted: Wed Sep 28, 2005 7:43 pm 
Newbie

Joined: Tue Sep 27, 2005 6:00 pm
Posts: 4
When I try to use the Hibernate Console I get an error in a pop up that states the following:

Internal error occured during: "Fetching children of [console name]"

Any ideas on what I can do to fix or get around this?


Eclipse version:

Eclipse 3.1.0

Hibernate version:

hibernate-3.0.5

Hibernate Tools version:

hibernate-tools-3-1-0.alpha5

hibernate.cfg.xml:

<?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">dev32</property>
<property name="hibernate.connection.url">
jdbc:oracle:thin:@db1.slc.ere:1521:slcdb90
</property>
<property name="hibernate.connection.username">dev32</property>
<property name="hibernate.dialect">
org.hibernate.dialect.Oracle9Dialect
</property>

<!-- Echo all executed SQL to stdout -->
<property name="show_sql">true</property>

<!-- <property name="connection.datasource">mydatasourcename</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.password">dev32</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@db1.slc.ere:1521:slcdb90</property>
<property name="hibernate.connection.username">dev32</property>
<property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property>
-->
<mapping file="./hibernate/User.hbm.xml" />
<mapping file="./hibernate/Organization.hbm.xml" />
<mapping file="./hibernate/Contact.hbm.xml" />
<mapping file="./hibernate/State.hbm.xml" />
<mapping file="./hibernate/Country.hbm.xml" />

</session-factory>
</hibernate-configuration>


Name and version of the database you are using:

Oracle 9i


Top
 Profile  
 
 Post subject: Internal error occured during: "Fetching children"
PostPosted: Wed Sep 28, 2005 11:24 pm 
Newbie

Joined: Wed Sep 28, 2005 11:18 pm
Posts: 1
Location: Jamaica
In the "hibernate console configuration" make sure you added the driver for your database to the "classpath" section.


Top
 Profile  
 
 Post subject: hbm files not in classpath
PostPosted: Thu Sep 29, 2005 11:38 am 
Newbie

Joined: Tue Sep 27, 2005 6:00 pm
Posts: 4
It turns out that I did not have my hbm files as part of the Java Build Path in my project properties of eclipse. It would be nice if a better exception was surfaced.


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

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.