Mar 18th, 2012, 07:44 AM
How to build/get a ConnectionProvider in Spring+Hibernate+C3P0 environment?
How to build/get a ConnectionProvider in a Spring(v.3.1.1) + Hibernate(v.4.1.1) + C3P0 environment?
In a Spring(v.3.1.1) + Hibernate(v.4.1.1) + C3P0 environment, I am trying to design a multi-tenant application. Hibernate has good documentation on newly introduced multitenancy features, but there are still some missing gaps. While following the example 16.3 in Hibernate docs, I couldn't figure out how to provide ConnectionProvider to MultiTenantConnectionProvider. Any hints/links/ideas would be much appreciated. Many thanks.
Tags for this Thread