sessionfactory « Schema « JPA Q&A





1. getting hibernate default schema name programmatically from session factory?    stackoverflow.com

I was wondering if there is a way to get the default schema name from session factory, somehow? The reason I need to get it is because I have to use ...

2. How to run multiple Hibernate SessionFactories with the SAME db schema using a distributed Ehcache    stackoverflow.com

We have a system with n number of clients (55 at this time) where each client gets their own database all of which have the exact same schema. We are running ...

3. Multiple SessionFactories with same schema    forum.hibernate.org

Hibernate version: 3.0.2 This subject seems to be asked/answered many times on the forum, but with no final verdict (or is just me not seeing it). I have the following scenario (non-arguable ;-)): 1/ one DB that contains in one of the tables runtime updatable information about N DB 2/ the N dbs are using exactly the same schema (about 180 ...

4. Exception when SessionFactory tries to drop schema    forum.hibernate.org

This one is pobably for Hibernate developers as opposed to users. As explained in Java Persistence with Hibernate, Chapter 2, create-drop value of hbm2ddl.auto property makes SessionFactory try to drop schema. However, when this is combined the c3p0 pooling, it does not work. Hibernate version: 3.2.2 Mapping extract: create-drop Full stack trace of any exception that occurs: Code: java.sql.SQLException: com.mchange.v2.c3p0.PoolBackedDataSource@d93e00d3 ...