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.