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