Good Morning Wade-

The driver is the wrong version..kinda like engine light going on your dash
which will raise your blood pressure but will not deliver any useful information

to whom do I send this post to?
Thanks,
Martin-

----- Original Message ----- From: "Wade Chandler" <[EMAIL PROTECTED]> To: "Tomcat Users List" <users@tomcat.apache.org>; "Martin Gainty" <[EMAIL PROTECTED]>
Sent: Saturday, March 25, 2006 9:54 PM
Subject: Re: hibernate jdbc drivers question


--- Martin Gainty <[EMAIL PROTECTED]> wrote:

I have a quick question with hibernate hsqldb
drivers

     [java] 11:58:23,125  INFO SchemaExport:177 -
exporting generated schema to
database
     [java] 11:58:23,125 ERROR SchemaExport:200 -
schema export unsuccessful
     [java] java.sql.SQLException: No suitable
driver
     [java]     at
java.sql.DriverManager.getConnection(Unknown Source)

Which hsqldb (presumably jdbc) drivers does
Hibernate support???

Thanks,
Martin-

Isn't Hibernate a separate project with it's own
mailing list and not even an Apache project?  I just
say that because I don't think every Tomcat user = a
Hibernate user...not even sure it's a 25% margin.  My
guess would be that Hibernate doesn't simply support
JDBC drivers as you see
java.sql.DriverManager.getConnection being the culprit
and the usual factory method to obtain a database
connection....I would not even assume Hibernate has
(this huge list of JDBC drivers) packaged into it's
jar files.  I think you'll have to put the JDBC
drivers jars in your classpath (web application lib
folder).  My assumption would be that is all you have
to do to allow this to happen, and some how tell
Hibernate which driver to load
(Class.forName("yada.yada.Yada").newInstance() or new
yada.yada.Yada()....maybe through config files, but I
bet their site and list has more information?  Maybe
you mistakenly sent the email to the wrong list?

Wade

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to