-->
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.  [ 2 posts ] 
Author Message
 Post subject: bean code wird nicht generiert
PostPosted: Mon Feb 27, 2006 4:51 pm 
Newbie

Joined: Mon Feb 27, 2006 4:24 pm
Posts: 5
Hallo,
Ich bin Hibernate Neuling und habe ein Problem mit dem erstellen von Beans von Oracle Tabellen .Bekomme immer folgende Fehlermeldung
org.hibernate.exception.GenericJDBCException: Could not get list of tables from database. Propably a JDBC driver problem.

... dann folgt noch eine Liste von SCHEMAS und dann ist Ende.

Ich benutze Eclipse 3.1.2 und Hibernate 3.1.2 und Hiberate Tools 3.1.0 beta4 und Oracle 8i

gibt es damit irgendein Problem. Was mache ich falsch.

Normalerwiese ist der Connect zu der Datenbank via jdbc kein problem.



Das config file sieht übrigens so aus

<?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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 02, 2006 8:47 am 
Expert
Expert

Joined: Tue Nov 23, 2004 7:00 pm
Posts: 570
Location: mostly Frankfurt Germany
Bei PostgreSQL hatte ich mal so ein Problem, weil der Datenbanktreiber nicht genau zur PostgreSQL Version passte.

Prüfe das vielleicht noch mal.

gruß Sebastian

_________________
Best Regards
Sebastian
---
Training for Hibernate and Java Persistence
Tutorials for Hibernate, Spring, EJB, JSF...
eBook: Hibernate 3 - DeveloperGuide
Paper book: Hibernate 3 - Das Praxisbuch
http://www.laliluna.de


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.