Hibernate not finding Oracle driver - despite straight JDBC working

From: IINET (mjinteractive_at_iinet.net.au)
Date: 12/22/04


Date: Wed, 22 Dec 2004 23:25:23 +0800

tomcat 5 / hibernate 2 / oracle 10g

- Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'

Been at this a few hours now - just cant get hibernate to work. I have my
driver in the right place (web-inf/lib and also tried common/lib too), my
config file and properties files all by the book. My tomcat JNDI resource is
all set up right (its working with DBCP in its own right, so driver is
working in a non hibernate situation)

I have changed the sqlDialect property around a couple of time too - in case
it had issue with the generic Oracle dialect and preffered the Oracle9
dialect.

No luck - about to give up on Hibernate altogether (I am yet to see it
work!)
This issue seems to be suggesting my tomcat JNDI set up is incorrect -but
its not! Its working just fine using straight JDBC lookups.

Any help at all would be appreciated - even sympathy would do.

Andles



Relevant Pages

  • Re: lost hibernate / stadby function please help
    ... SOLVED THE NO HIBERNATE TAB / NO STANDBY BUTTON PROBLEM! ... microsoft headquarters, the driver was old for win NT from 1999, i don't know ... >> and isolate the one that kills hibernate / standby functions. ...
    (microsoft.public.windowsxp.general)
  • Hibernate SQLServer dialect with MSAccess. Error -3516
    ... The output of the log file generated by Hibernate is posted below. ... Driver: Sun JDBC-ODBC driver ... SQL generated is missing a ';'. ... INFO Configuration:1308 - configuring from resource: ...
    (comp.lang.java.databases)
  • Re: lost hibernate / stadby function please help
    ... I can't find that driver anywhere ... SOLVED THE NO HIBERNATE TAB / NO STANDBY BUTTON PROBLEM! ... Tinkerer, please can you do the search on WinRT.sys under ...
    (microsoft.public.windowsxp.general)
  • Re: hibernate and resolved
    ... Windows help - www.rickrogers.org ... I have assigned the sleep keyboard button to hibernate on ... I downloaded the video driver specific for the motherboard (from ... >> In order for hibernate to function, it requires that all the hardware on ...
    (microsoft.public.windowsxp.basics)
  • Re: hibernate and resolved
    ... the computer does not hibernate after a timetable set nor it ... I downloaded the video driver specific for the motherboard (from the ... > In order for hibernate to function, it requires that all the hardware on the ... > that the system boots and loads windows. ...
    (microsoft.public.windowsxp.basics)