-->
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.  [ 4 posts ] 
Author Message
 Post subject: Oracle9i part 2
PostPosted: Tue Dec 30, 2003 6:30 pm 
Newbie

Joined: Tue Dec 30, 2003 3:38 pm
Posts: 7
Location: Texas
Ok, thank to gloeglm, and epbernard, I am one step closer to trying out Hibernate. As you can see I am one step closer, so here is my problem. I am getting this exception when I try to update the schema on a Oracle9i database. This one looks ugly.

java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:418)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:521)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:325)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:95)
at net.sf.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:106)
at contacts.InitHibernate.<init>(InitHibernate.java:27)
at contacts.InitHibernate.main(InitHibernate.java:39)

So if any of you Hibernate expert can give me a hand I will greatly appreciated.

Rama Itaurte.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 30, 2003 6:39 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
This looks rather like a database configuration problem, can you connect to your db using normal JDBC Java Code?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 30, 2003 6:40 pm 
Newbie

Joined: Tue Dec 30, 2003 3:38 pm
Posts: 7
Location: Texas
Let me do that real fast and I will get back to you.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 30, 2003 6:51 pm 
Newbie

Joined: Tue Dec 30, 2003 3:38 pm
Posts: 7
Location: Texas
You


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.