-->
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: how to use oracle8i & jboss3.2.1 together?
PostPosted: Tue Dec 23, 2003 3:56 am 
Regular
Regular

Joined: Wed Dec 03, 2003 9:41 pm
Posts: 87
jboss3.2.1 has a oracle9i jdbc driver and our project uses oracle8i as database. When I deploy our project to jboss3.2.1, hibernate2 composes sql for associative table like "left outer join". But oracle8i does not support this kind of sql. I guess the reason is hiberate2 composes sql by special jdbc driver, now jboss3.2.1 using oracle9i jdbc driver.
How can I resolve this problem?
I tried to use 8i jdbc driver in my project and yes, it deployed in jboss. But it also created sql "left outer join". And I found it had some error when start jboss:

15:10:09,399 ERROR [JDBCExceptionReporter] Apparently wrong driver class specified for URL: class: oracle.jdbc.driver.OracleDriver, url: jdbc:oracle:thin:@10.60.2.8:1521:db129; - nested throwable: (org.jboss.resource.JBossResourceException:
Apparently wrong driver class specified for URL: class: oracle.jdbc.driver.OracleDriver, url: jdbc:oracle:thin:@10.60.2.8:1521:db129)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 23, 2003 5:52 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Select the correct Dialect and it will work fine. There are two Oracle Dialects - on is for 9i. I am using 3.2.1 with 8i (8is JDBC driver).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 23, 2003 10:54 pm 
Regular
Regular

Joined: Wed Dec 03, 2003 9:41 pm
Posts: 87
Thank you for your reply, I am ok now.


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.