niagara-ax/decompiled/oracle/jdbc/OracleConnection.java
2026-03-17 13:31:18 -07:00

192 lines
6.7 KiB
Java

package oracle.jdbc;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Properties;
import oracle.jdbc.pool.OracleConnectionCacheCallback;
public interface OracleConnection extends Connection {
public static final int ABANDONED_CONNECTION_CALLBACK = 1;
public static final int ALL_CONNECTION_CALLBACKS = 4;
public static final int CACHE_SIZE_NOT_SET = -1;
public static final String CONNECTION_PROPERTY_CREATE_DESCRIPTOR_USE_CURRENT_SCHEMA_FOR_SCHEMA_NAME = "oracle.jdbc.createDescriptorUseCurrentSchemaForSchemaName";
public static final byte CONNECTION_PROPERTY_CREATE_DESCRIPTOR_USE_CURRENT_SCHEMA_FOR_SCHEMA_NAME_ACCESSMODE = (byte) 3;
public static final String CONNECTION_PROPERTY_CREATE_DESCRIPTOR_USE_CURRENT_SCHEMA_FOR_SCHEMA_NAME_DEFAULT = "false";
public static final String CONNECTION_PROPERTY_THIN_NET_DISABLE_OUT_OF_BAND_BREAK = "oracle.net.disableOob";
public static final byte CONNECTION_PROPERTY_THIN_NET_DISABLE_OUT_OF_BAND_BREAK_ACCESSMODE = (byte) 3;
public static final String CONNECTION_PROPERTY_THIN_NET_DISABLE_OUT_OF_BAND_BREAK_DEFAULT = "false";
public static final String CONNECTION_PROPERTY_USE_1900_AS_YEAR_FOR_TIME = "oracle.jdbc.use1900AsYearForTime";
public static final String CONNECTION_PROPERTY_USE_1900_AS_YEAR_FOR_TIME_DEFAULT = "false";
public static final int CONNECTION_RELEASE_HIGH = 1024;
public static final int CONNECTION_RELEASE_LOCKED = 256;
public static final int CONNECTION_RELEASE_LOW = 512;
public static final int DATABASE_CLOSED = -1;
public static final int DATABASE_NOTOK = -2;
public static final int DATABASE_OK = 0;
public static final int DATABASE_TIMEOUT = -3;
public static final int END_TO_END_ACTION_INDEX = 0;
public static final int END_TO_END_CLIENTID_INDEX = 1;
public static final int END_TO_END_ECID_INDEX = 2;
public static final int END_TO_END_MODULE_INDEX = 3;
public static final int END_TO_END_STATE_INDEX_MAX = 4;
public static final int INVALID_CONNECTION = 4096;
public static final int PROXYTYPE_CERTIFICATE = 3;
public static final int PROXYTYPE_DISTINGUISHED_NAME = 2;
public static final int PROXYTYPE_USER_NAME = 1;
public static final String PROXY_CERTIFICATE = "PROXY_CERTIFICATE";
public static final String PROXY_DISTINGUISHED_NAME = "PROXY_DISTINGUISHED_NAME";
public static final String PROXY_ROLES = "PROXY_ROLES";
public static final int PROXY_SESSION = 1;
public static final String PROXY_USER_NAME = "PROXY_USER_NAME";
public static final String PROXY_USER_PASSWORD = "PROXY_USER_PASSWORD";
public static final int RELEASE_CONNECTION_CALLBACK = 2;
Connection _getPC();
void applyConnectionAttributes(Properties properties) throws SQLException;
void archive(int i, int i2, String str) throws SQLException;
void close(int i) throws SQLException;
void close(Properties properties) throws SQLException;
boolean getAutoClose() throws SQLException;
CallableStatement getCallWithKey(String str) throws SQLException;
Properties getConnectionAttributes() throws SQLException;
int getConnectionReleasePriority() throws SQLException;
boolean getCreateStatementAsRefCursor();
String getCurrentSchema() throws SQLException;
int getDefaultExecuteBatch();
int getDefaultRowPrefetch();
Object getDescriptor(String str);
short getEndToEndECIDSequenceNumber() throws SQLException;
String[] getEndToEndMetrics() throws SQLException;
boolean getExplicitCachingEnabled() throws SQLException;
boolean getImplicitCachingEnabled() throws SQLException;
boolean getIncludeSynonyms();
Object getJavaObject(String str) throws SQLException;
Properties getProperties();
boolean getRemarksReporting();
boolean getRestrictGetTables();
String getSQLType(Object obj) throws SQLException;
String getSessionTimeZone();
int getStatementCacheSize() throws SQLException;
PreparedStatement getStatementWithKey(String str) throws SQLException;
int getStmtCacheSize();
short getStructAttrCsId() throws SQLException;
Properties getUnMatchedConnectionAttributes() throws SQLException;
String getUserName() throws SQLException;
boolean getUsingXAFlag();
boolean getXAErrorFlag();
boolean isLogicalConnection();
boolean isProxySession();
void openProxySession(int i, Properties properties) throws SQLException;
void oracleReleaseSavepoint(OracleSavepoint oracleSavepoint) throws SQLException;
void oracleRollback(OracleSavepoint oracleSavepoint) throws SQLException;
OracleSavepoint oracleSetSavepoint() throws SQLException;
OracleSavepoint oracleSetSavepoint(String str) throws SQLException;
oracle.jdbc.internal.OracleConnection physicalConnectionWithin();
int pingDatabase(int i) throws SQLException;
CallableStatement prepareCallWithKey(String str) throws SQLException;
PreparedStatement prepareStatementWithKey(String str) throws SQLException;
void purgeExplicitCache() throws SQLException;
void purgeImplicitCache() throws SQLException;
void putDescriptor(String str, Object obj) throws SQLException;
void registerConnectionCacheCallback(OracleConnectionCacheCallback oracleConnectionCacheCallback, Object obj, int i) throws SQLException;
void registerSQLType(String str, Class cls) throws SQLException;
void registerSQLType(String str, String str2) throws SQLException;
void registerTAFCallback(OracleOCIFailover oracleOCIFailover, Object obj) throws SQLException;
void setAutoClose(boolean z) throws SQLException;
void setConnectionReleasePriority(int i) throws SQLException;
void setCreateStatementAsRefCursor(boolean z);
void setDefaultExecuteBatch(int i) throws SQLException;
void setDefaultRowPrefetch(int i) throws SQLException;
void setEndToEndMetrics(String[] strArr, short s) throws SQLException;
void setExplicitCachingEnabled(boolean z) throws SQLException;
void setImplicitCachingEnabled(boolean z) throws SQLException;
void setIncludeSynonyms(boolean z);
void setPlsqlWarnings(String str) throws SQLException;
void setRemarksReporting(boolean z);
void setRestrictGetTables(boolean z);
void setSessionTimeZone(String str) throws SQLException;
void setStatementCacheSize(int i) throws SQLException;
void setStmtCacheSize(int i) throws SQLException;
void setStmtCacheSize(int i, boolean z) throws SQLException;
void setUsingXAFlag(boolean z);
void setWrapper(OracleConnection oracleConnection);
void setXAErrorFlag(boolean z);
void shutdown(int i) throws SQLException;
void startup(String str, int i) throws SQLException;
OracleConnection unwrap();
}