-->
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: having trouble setting up hibernate to run with oracle 9i
PostPosted: Fri Apr 15, 2005 5:17 am 
Newbie

Joined: Thu Apr 14, 2005 9:58 pm
Posts: 7
Hello,

Hibernate version: 2.1.8

Name and version of the database you are using:Oracle 9i

I am trying to set up hibernate 2.1.8 to run with oracle 9i - i am following the steps mentioned in Getting Started. As per those guidelines, I copied the jdbc driver jar file into the lib directory (the jar file i copied is ojdbc.jar) and then I uncommented the settings mentioned in the /etc/hibernate.properties for oracle database. After that I ran the
Code:
ant eg
command from command prompt in the hibernate directory. An IO Exception is being raised saying that database could not be connected to.

What I understood from the documentation is this:
"the setting mentioned in the properties file cause the creation of a new database schema"

Kindly tell me where I am going wrong and what am I understanding wrong here.

--Thanks,
Manju


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 15, 2005 5:32 am 
Beginner
Beginner

Joined: Thu Oct 16, 2003 7:30 am
Posts: 21
Location: Brussels
Did you change the hibernate.connection.url property to match your Oracle hostname/port/SID?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 15, 2005 7:31 pm 
Newbie

Joined: Thu Apr 14, 2005 9:58 pm
Posts: 7
thanks jandries - the user was also not created with sufficient privileges.


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.