public class OracleJDBC_10_1_0_2ProxyConnectionCustomizer
extends org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizer
| Modifier and Type | Field and Description |
|---|---|
protected oracle.jdbc.OracleConnection |
oracleConnection |
protected Properties |
proxyProperties |
protected int |
proxyType |
| Constructor and Description |
|---|
OracleJDBC_10_1_0_2ProxyConnectionCustomizer(org.eclipse.persistence.internal.databaseaccess.Accessor accessor,
Session session)
INTERNAL:
Should be instantiated only if session.getProperty(PersistenceUnitProperties.ORACLE_PROXY_TYPE) != null.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildProxyProperties()
INTERNAL:
Precondition: session.getProperty(PersistenceUnitProperties.ORACLE_PROXY_TYPE) != null
|
void |
clear()
INTERNAL:
Clears customization from connection.
|
protected void |
clearConnectionCache()
INTERNAL:
Clears connection's both implicit and explicit caches.
|
Object |
clone()
INTERNAL:
Normally called only when customizer is in inactive state (isActive()==false)
and followed by setAccessor call on the clone.
|
void |
customize()
INTERNAL:
Applies customization to connection.
|
boolean |
equals(Object obj)
INTERNAL:
Two customizers considered equal if they produce the sane customization.
|
boolean |
equals(OracleJDBC_10_1_0_2ProxyConnectionCustomizer customizer)
INTERNAL:
Two customizers considered equal if they produce the sane customization.
|
boolean |
isActive()
INTERNAL:
Indicated whether the connection is currently customized.
|
protected oracle.jdbc.OracleConnection oracleConnection
protected int proxyType
protected Properties proxyProperties
public OracleJDBC_10_1_0_2ProxyConnectionCustomizer(org.eclipse.persistence.internal.databaseaccess.Accessor accessor,
Session session)
public void customize()
customize in class org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizerpublic boolean isActive()
isActive in class org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizerpublic void clear()
clear in class org.eclipse.persistence.internal.databaseaccess.ConnectionCustomizerpublic Object clone()
public boolean equals(Object obj)
public boolean equals(OracleJDBC_10_1_0_2ProxyConnectionCustomizer customizer)
protected void buildProxyProperties()
protected void clearConnectionCache()
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.