-->
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: hibernate example produces no suitable driver
PostPosted: Sun Mar 26, 2006 7:53 pm 
Newbie

Joined: Sun Mar 26, 2006 4:44 pm
Posts: 1
Location: Etats Unis
onManagerLookup configured (in JTA environment, use of read-write or transaction
al second-level cache is not recommended)
[java] 18:50:55,437 INFO SettingsFactory:125 - Automatic flush during befo
reCompletion(): disabled
[java] 18:50:55,437 INFO SettingsFactory:129 - Automatic session close at
end of transaction: disabled
[java] 18:50:55,437 INFO SettingsFactory:144 - Scrollable result sets: dis
abled
[java] 18:50:55,437 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): d
isabled
[java] 18:50:55,437 INFO SettingsFactory:160 - Connection release mode: au
to
[java] 18:50:55,437 INFO SettingsFactory:184 - Maximum outer join fetch de
pth: 1
[java] 18:50:55,437 INFO SettingsFactory:187 - Default batch fetch size: 1

[java] 18:50:55,437 INFO SettingsFactory:191 - Generate SQL with comments:
enabled
[java] 18:50:55,437 INFO SettingsFactory:195 - Order SQL updates by primar
y key: disabled
[java] 18:50:55,437 INFO SettingsFactory:338 - Query translator: org.hiber
nate.hql.ast.ASTQueryTranslatorFactory
[java] 18:50:55,453 INFO ASTQueryTranslatorFactory:24 - Using ASTQueryTran
slatorFactory
[java] 18:50:55,453 INFO SettingsFactory:203 - Query language substitution
s: {no='N', yes='Y'}
[java] 18:50:55,453 INFO SettingsFactory:209 - Second-level cache: enabled

[java] 18:50:55,453 INFO SettingsFactory:213 - Query cache: disabled
[java] 18:50:55,453 INFO SettingsFactory:325 - Cache provider: org.hiberna
te.cache.HashtableCacheProvider
[java] 18:50:55,453 INFO SettingsFactory:228 - Optimize cache for minimal
puts: disabled
[java] 18:50:55,453 INFO SettingsFactory:233 - Cache region prefix: hibern
ate.test
[java] 18:50:55,453 INFO SettingsFactory:237 - Structured second-level cac
he entries: disabled
[java] 18:50:55,453 INFO SettingsFactory:257 - Echoing all SQL to stdout
[java] 18:50:55,453 INFO SettingsFactory:264 - Statistics: enabled
[java] 18:50:55,453 INFO SettingsFactory:268 - Deleted entity synthetic id
entifier rollback: disabled
[java] 18:50:55,453 INFO SettingsFactory:283 - Default entity-mode: pojo
[java] 18:51:03,890 INFO SessionFactoryImpl:154 - building session factory

[java] 18:51:04,250 INFO SessionFactoryObjectFactory:82 - Not binding fact
ory to JNDI, no JNDI name configured
[java] 18:51:04,265 INFO SchemaExport:152 - Running hbm2ddl schema export
[java] 18:51:04,265 DEBUG SchemaExport:168 - import file not found: /import
.sql
[java] 18:51:04,265 INFO SchemaExport:177 - exporting generated schema to
database
[java] 18:51:04,265 ERROR SchemaExport:200 - schema export unsuccessful
[java] java.sql.SQLException: No suitable driver

_________________
Martin Gainty
OOA/OOD/Oracle development


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 26, 2006 10:56 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
You need to put your SQL driver in your class path, and specify it in your config file as appropriate. See section 3.3, "JDBC connections", of the ref docs.


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.