Hello ,
i am new to hibernate and have a problem.
i get always the following exception on creating java beans from oracle tables.
org.hibernate.exception.GenericJDBCException: Could not get list of tables from database. Propably a JDBC driver problem.
i am using eclipse3.1.2, hibernate 3.1.2, hibernate tools 3.1.0 jsdk 1.4.2.10 and oracle 8i
is there any problem with this configuration?
the config file looks as follows....
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">
oracle.jdbc.driver.OracleDriver
</property>
<property name="hibernate.connection.password">
passwd
</property>
<property name="hibernate.connection.url">
jdbc:oracle:thin:@dbname:1521:po28
</property>
<property name="hibernate.connection.username">userid</property>
<property name="hibernate.default_schema">NVS</property>
<property name="hibernate.dialect">
org.hibernate.dialect.OracleDialect
</property>
</session-factory>
</hibernate-configuration>
Drazil.
|