-->
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: Problems - Hibernate 3 (not reading from database)
PostPosted: Thu Apr 21, 2005 11:08 am 
Newbie

Joined: Mon Apr 11, 2005 6:59 am
Posts: 11
Greetings,

I am a hibernate new user, so help me please!!!

I am using the Hibernate 3.0.1, Eclipse 3.1.M6 width jboss Eclipse IDE 1.5.M1-hibernate-tools and Oracle 9i on Windows XP PRO.

My goal is to create Hibernate Artifacts from my Oracle 9i database, using "Reverse Engineer from JDBC Connection" and "Generate domain code."

Here is my Hibernate.properties file:
...
property name="hibernate.connection.username">ALERT
property name="hibernate.connection.password">***
property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect property name="hibernate.connection.url">jdbc:oracle:thin:@IP:1521:EHRTESTE
property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver
...

I make the console width de hibernate.cfg.xml and i have included the jar of oracle jdbc (classes12.jar and nls...)


When i try to generate the mapping classes i get the following error:

"Error under artifact generation

Reason: org.hibernate.exception.GenericJDBCException:Reading from database "

Please help.


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.