-->
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.  [ 4 posts ] 
Author Message
 Post subject: The user must supplly a JDBC connection problem
PostPosted: Wed Dec 24, 2003 4:45 am 
Newbie

Joined: Thu Nov 20, 2003 2:35 am
Posts: 7
Location: Thailand
I've use Hibernate 2.1 with tomcat and when I test the methods in eclipse it work but it don't work on tomcat, it provide this log
Quote:
Dec 24, 2003 3:44:44 PM net.sf.hibernate.cfg.SettingsFactory buildSettings
WARNING: No dialect set - using GenericDialect: The dialect was not set. Set the property hibernate.dialect.
Dec 24, 2003 3:44:44 PM net.sf.hibernate.dialect.Dialect <init>
INFO: Using dialect: net.sf.hibernate.dialect.GenericDialect
Dec 24, 2003 3:44:44 PM net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use outer join fetching: false
Dec 24, 2003 3:44:44 PM net.sf.hibernate.connection.UserSuppliedConnectionProvider configure
WARNING: No connection properties specified - the user must supply JDBC connections
Dec 24, 2003 3:44:44 PM net.sf.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
Dec 24, 2003 3:44:44 PM net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use scrollable result sets: false
Dec 24, 2003 3:44:44 PM net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
Dec 24, 2003 3:44:44 PM net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: cache provider: net.sf.hibernate.cache.JCSCacheProvider
Dec 24, 2003 3:44:44 PM net.sf.hibernate.cfg.Configuration configureCaches
INFO: instantiating and configuring caches
Dec 24, 2003 3:44:44 PM net.sf.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Dec 24, 2003 3:44:44 PM net.sf.hibernate.util.ReflectHelper getMetaClass
INFO: reflection optimizer disabled for: db.Account, ClassCastException: null
Dec 24, 2003 3:44:44 PM net.sf.hibernate.util.ReflectHelper getMetaClass
INFO: reflection optimizer disabled for: db.Contact, ClassCastException: null
Dec 24, 2003 3:44:44 PM net.sf.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: no JNDI name configured


..I put hibernate.properties in .../WEB-INF/classes already.
please help.

_________________
Rattapon P.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 24, 2003 4:47 am 
Newbie

Joined: Thu Nov 20, 2003 2:35 am
Posts: 7
Location: Thailand
or what path I should put hibernate.properties in it?.

_________________
Rattapon P.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 24, 2003 4:56 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
The one where hibernate2.jar is.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 24, 2003 5:11 am 
Newbie

Joined: Thu Nov 20, 2003 2:35 am
Posts: 7
Location: Thailand
I've got it. thanks for your kindness. :>[/code]

_________________
Rattapon P.


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