Package de.hybris.platform.jdbcwrapper
Class ConnectionImplIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.jdbcwrapper.ConnectionImplIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ConnectionImplIntegrationTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ConnectionImplIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DataSourceFactorydataSourceFactory(JDBCInterceptor jdbcInterceptor)protected JDBCInterceptorerrorThrowingJDBCInterceptor(java.util.concurrent.atomic.AtomicBoolean shouldThrowError)voidshouldEnableConnectionPoolVerificationModeWhenExceptionInConnectionIsThrownButBeforeReturningToPool()voidtearDown()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldEnableConnectionPoolVerificationModeWhenExceptionInConnectionIsThrownButBeforeReturningToPool
public void shouldEnableConnectionPoolVerificationModeWhenExceptionInConnectionIsThrownButBeforeReturningToPool() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
dataSourceFactory
protected DataSourceFactory dataSourceFactory(JDBCInterceptor jdbcInterceptor)
-
errorThrowingJDBCInterceptor
protected JDBCInterceptor errorThrowingJDBCInterceptor(java.util.concurrent.atomic.AtomicBoolean shouldThrowError)
-
-