| org.logicalcobwebs.proxool.AbstractProxoolTest org.logicalcobwebs.proxool.HibernateTest
HibernateTest | public class HibernateTest extends AbstractProxoolTest (Code) | | Tests that we are able to get a connection from
Hibernate 2.x.
(Code contributed by Mark Eagle)
version: $Revision: 1.3 $, $Date: 2006/03/24 00:14:59 $ author: Bill Horsman {bill@logicalcobwebs.co.uk) author: $Author: billhorsman $ (current maintainer) |
testDirectHibernateConnection | public void testDirectHibernateConnection() throws HibernateException, ProxoolException(Code) | | Can we get a connection from a Proxool pool that we have already registered? We
ask Hibernate to lookup the pool by its alias.
throws: ProxoolException - if there was a Proxool problem throws: HibernateException - if there was a Hibernate problem |
testHibernateConfiguredConnection | public void testHibernateConfiguredConnection() throws HibernateException, ProxoolException(Code) | | Can we get a connection from a pool configured by Hibernate
throws: ProxoolException - if there was a Proxool problem throws: HibernateException - if there was a Hibernate problem |
testSimpleHibernateConnection | public void testSimpleHibernateConnection() throws HibernateException, ProxoolException(Code) | | Can we get a connection straight from Hibernate? We register the pool first
and theb ask for Hibernate for it.
throws: ProxoolException - if there was a Proxool problem throws: HibernateException - if there was a Hibernate problem |
|
|