-->
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: Driver compatibility issue
PostPosted: Mon Feb 07, 2011 10:35 am 
Beginner
Beginner

Joined: Tue Sep 28, 2010 5:14 am
Posts: 25
I am using 10g database and have configured my dialect for it accordingly. Considering the fact that its 10g database I expect the drivers to be compatibile with it. For this I added classes12.jar but could see JDBC driver as Oracle JDBC driver, version: 9.2.0.3.0 even when I remove this jar. So not sure if these drivers are compatibile or there is some problem in configuration.

The reason I am asking is I keep getting this error : java.lang.AbstractMethodError: oracle.jdbc.driver.OracleConnection.createClob()Ljava/sql/Clob and this seems to be compability issue with Oracle driver and the database I am using.

The properties file looks something link this
Code:
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
         <property name="hibernate.connection.url">jdbc:oracle:thin:@test:1522:DOMAIN</property>
         <property name="hibernate.connection.username">OWNER</property>
         <property name="hibernate.connection.password">password</property>
         <property name="hibernate.connection.pool_size">10</property>
         <property name="show_sql">true</property>
         <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
         <property name="hibernate.hbm2ddl.auto">update</property>



On hibernate property load what I see :
Quote:
using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@test:1522:DOMAIN
connection properties: {user=OWNER, password=****}
RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
JDBC driver: Oracle JDBC driver, version: 9.2.0.3.0
Using dialect: org.hibernate.dialect.Oracle10gDialect



--Manoj


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.