Joined: Mon Nov 14, 2011 7:38 am Posts: 1
|
Hi,
I try to use Reverse Engeneering with NetBeans. My configuration file is this:
<?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.dialect">org.hibernate.dialect.OracleDialect</property> <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property> <property name="hibernate.connection.url">jdbc:oracle:thin:@host:port:dbname</property> <property name="hibernate.connection.username">user</property> <property name="hibernate.connection.password">pass</property> </session-factory> </hibernate-configuration>
When i try to create "hibernate.reveng" an error appears:
"Unable to connet to URL using the driver" - "Unable to find a suitable driver".
I wrote a simply class in java and i can connect to the DB:
Class.forName ("oracle.jdbc.OracleDriver");
Connection conn = DriverManager.getConnection (url);
How i can resolve the problem?
|
|