public class MidPointConnectionCustomizer
extends com.mchange.v2.c3p0.AbstractConnectionCustomizer
ConnectionCustomizer.onCheckOut(java.sql.Connection, String)
when using H2. With other databases connection is updated during
ConnectionCustomizer.onAcquire(java.sql.Connection, String)
Constructor and Description |
---|
MidPointConnectionCustomizer() |
Modifier and Type | Method and Description |
---|---|
static TransactionIsolation |
getTransactionIsolation() |
void |
onAcquire(Connection connection,
String parentDataSourceIdentityToken) |
void |
onCheckOut(Connection connection,
String parentDataSourceIdentityToken) |
static void |
setTransactionIsolation(TransactionIsolation transactionIsolation) |
public void onAcquire(Connection connection, String parentDataSourceIdentityToken) throws Exception
onAcquire
in interface com.mchange.v2.c3p0.ConnectionCustomizer
onAcquire
in class com.mchange.v2.c3p0.AbstractConnectionCustomizer
Exception
public void onCheckOut(Connection connection, String parentDataSourceIdentityToken) throws Exception
onCheckOut
in interface com.mchange.v2.c3p0.ConnectionCustomizer
onCheckOut
in class com.mchange.v2.c3p0.AbstractConnectionCustomizer
Exception
public static TransactionIsolation getTransactionIsolation()
public static void setTransactionIsolation(TransactionIsolation transactionIsolation)
Copyright © 2016 evolveum. All rights reserved.