gavin wrote:
Quote:
P.S. Any idea when the next release is going to be?
late next week.
Sorry to be irritating about this, but for some reason I still cannot get Hibernate 2.1 working.
I was using the JCS caching, but now it all blows up.
I've added the following to hibernate.cfg.xml
<property name="hibernate.cache.provider_class">net.sf.hibernate.JCSCacheProvider</property>
But I am getting the following:
2003-12-04 16:36:27,598 [HttpProcessor[8080][4]] INFO hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment,
use of process level read-write cache is not recommended)
2003-12-04 16:36:27,665 [HttpProcessor[8080][4]] INFO hibernate.cfg.SettingsFactory
- Use scrollable result sets: true
2003-12-04 16:36:27,665 [HttpProcessor[8080][4]] INFO hibernate.cfg.SettingsFactory
- JDBC 2 max batch size: 15
2003-12-04 16:36:27,666 [HttpProcessor[8080][4]] INFO hibernate.cfg.SettingsFactory
- echoing all SQL to stdout
2003-12-04 16:36:27,666 [HttpProcessor[8080][4]] INFO hibernate.cfg.SettingsFactory
- Query language substitutions: {}
2003-12-04 16:36:27,666 [HttpProcessor[8080][4]] INFO hibernate.cfg.SettingsFactory
- cache provider: net.sf.hibernate.JCSCacheProvider
2003-12-04 16:36:27,681 [HttpProcessor[8080][4]] FATAL foneblog.environment.ConnectionState - Error trying to configure Hibernate:
net.sf.hibernate.HibernateException: could not instantiate CacheProvider: net.sf.hibernate.JCSCacheProvider
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:115)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
...
Is there some other special setup? Is there a page describing what steps need to be
taken migrating from 2.0 to 2.1?
Cheers,
H
at com.newbay.foneblog.environment.ConnectionState.<clinit>(ConnectionState.java:30)