1. Hibernate second level cache and ON DELETE CASCADE in database schema stackoverflow.comOur Java application has about 100 classes mapped to a database (SQL Server or MySQL). We are using Hibernate as our ORM (with XML mapping files).
We specify |
2. caching and schemaexport fails forum.hibernate.orgAuthor Message thhart Post subject: caching and schemaexport fails Posted: Thu Dec 02, 2004 6:39 am Regular Joined: Sun Aug 01, 2004 6:49 pm Posts: 72 I have a problem with caching with following mapping and schemaexport: net.sf.hibernate.MappingException: duplicate cache region The application itself works well even with the new mapping and caching enabled (net.sf.ehcache.hibernate.Provider), but the schemaexport out ... |
3. 2 DB with same Schema using JBoss-Cache CacheLoader? forum.hibernate.orgHi, this question concerns the JBoss Cache and Hibernate. Hibernate have a "limitation" that I would like to overcome. Hibernate cannot use the Same Schma for 2 different databases. Using C-JDBC is not the answer either. See: http://forum.hibernate.org/viewtopic.php?t=937847 http://forum.hibernate.org/viewtopic.php?t=938654&highlight=schema+multiple+database I read in the JBoss faq http://docs.jboss.org/jbcache/FAQ.html and in the documentation that the JBoss cache can use a Cache Loader (since 1.1) ... |
4. cache management in multiple schemas forum.hibernate.org |