-->
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: Help:why cant't create Console Artifact Generation?
PostPosted: Wed Feb 02, 2005 10:11 pm 
Newbie

Joined: Wed Feb 02, 2005 9:58 pm
Posts: 4
I use eclipse-SDK-3.1M4-win32 、hibernate-tools-3.0alpha1 and org.jboss.ide.eclipse_1.4.0.bin.dist.And I create a project according to Hibernate-tools demo,but I use oracle8.7,I add src and lib folder and add class12.jar in project.I can create Hibernate.cfg.xml and Console Configuration,but when I create Console Artifact Generation,it promated "Reasib:org.hibernate.exception.GenericJDBCException:Reading from database".

I can't find my error ,who can help me?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 03, 2005 2:54 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
please read all the other postings about this... ;)

And then go look in Error Log View where you can see the full stack trace on what happend.

My guess is that you are rev.eng. the whole database because you havent set default schema in hibernate.cfg.xml.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: add the default schema for the hibernate tools
PostPosted: Fri Feb 04, 2005 10:13 pm 
Newbie

Joined: Fri Feb 04, 2005 3:24 am
Posts: 6
Maybe you have some schema on the oracle database,If so,this error will appear,
you can add this to the hibernate.cfg.xml file

<property name="hibernate.default_schema">[your schema name]</property>


maybe solve it !


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.