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

203 lines
6.0 KiB
Java

package oracle.jdbc.internal;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.Enumeration;
import java.util.Map;
import java.util.Properties;
import javax.transaction.xa.XAResource;
import oracle.jdbc.oracore.OracleTypeADT;
import oracle.jdbc.oracore.OracleTypeCLOB;
import oracle.jdbc.pool.OracleConnectionCacheCallback;
import oracle.jdbc.pool.OraclePooledConnection;
import oracle.sql.ARRAY;
import oracle.sql.ArrayDescriptor;
import oracle.sql.BFILE;
import oracle.sql.BLOB;
import oracle.sql.BfileDBAccess;
import oracle.sql.BlobDBAccess;
import oracle.sql.CLOB;
import oracle.sql.ClobDBAccess;
import oracle.sql.CustomDatum;
import oracle.sql.Datum;
import oracle.sql.StructDescriptor;
public interface OracleConnection extends oracle.jdbc.OracleConnection {
public static final int ASCII_TO_CHAR = 5;
public static final int CHAR_TO_ASCII = 0;
public static final int CHAR_TO_JAVACHAR = 9;
public static final int CHAR_TO_UNICODE = 1;
public static final int GLOBAL_TXN = 1;
public static final int JAVACHAR_TO_CHAR = 7;
public static final int NONE = 6;
public static final int NO_GLOBAL_TXN = 0;
public static final int RAW_TO_ASCII = 2;
public static final int RAW_TO_JAVACHAR = 8;
public static final int RAW_TO_UNICODE = 3;
public static final int UNICODE_TO_CHAR = 4;
int CHARBytesToJavaChars(byte[] bArr, int i, char[] cArr) throws SQLException;
boolean IsNCharFixedWith();
int NCHARBytesToJavaChars(byte[] bArr, int i, char[] cArr) throws SQLException;
void abort() throws SQLException;
void cancel() throws SQLException;
Class classForNameAndSchema(String str, String str2) throws ClassNotFoundException;
void cleanupAndClose(boolean z) throws SQLException;
void clearAllApplicationContext(String str) throws SQLException;
void closeInternal(boolean z) throws SQLException;
BFILE createBfile(byte[] bArr) throws SQLException;
BfileDBAccess createBfileDBAccess() throws SQLException;
BLOB createBlob(byte[] bArr) throws SQLException;
BlobDBAccess createBlobDBAccess() throws SQLException;
BLOB createBlobWithUnpickledBytes(byte[] bArr) throws SQLException;
CLOB createClob(byte[] bArr) throws SQLException;
CLOB createClob(byte[] bArr, short s) throws SQLException;
ClobDBAccess createClobDBAccess() throws SQLException;
CLOB createClobWithUnpickledBytes(byte[] bArr) throws SQLException;
Enumeration descriptorCacheKeys();
boolean getBigEndian() throws SQLException;
int getC2SNlsRatio();
int getConnectionCacheCallbackFlag() throws SQLException;
OracleConnectionCacheCallback getConnectionCacheCallbackObj() throws SQLException;
Object getConnectionCacheCallbackPrivObj() throws SQLException;
Properties getDBAccessProperties() throws SQLException;
String getDatabaseProductVersion() throws SQLException;
short getDbCsId() throws SQLException;
boolean getDefaultFixedString();
String getDefaultSchemaNameForNamedTypes() throws SQLException;
Object getDescriptor(byte[] bArr);
short getDriverCharSet();
byte[] getFDO(boolean z) throws SQLException;
void getForm(OracleTypeADT oracleTypeADT, OracleTypeCLOB oracleTypeCLOB, int i) throws SQLException;
int getHeapAllocSize() throws SQLException;
int getHeartbeatNoChangeCount() throws SQLException;
Map getJavaObjectTypeMap();
short getJdbcCsId() throws SQLException;
Connection getLogicalConnection(OraclePooledConnection oraclePooledConnection, boolean z) throws SQLException;
int getMaxCharSize() throws SQLException;
int getMaxCharbyteSize();
int getMaxNCharbyteSize();
short getNCharSet();
int getOCIEnvHeapAllocSize() throws SQLException;
Properties getOCIHandles() throws SQLException;
OracleConnection getPhysicalConnection();
void getPropertyForPooledConnection(OraclePooledConnection oraclePooledConnection) throws SQLException;
String getProtocolType();
Properties getServerSessionInfo() throws SQLException;
long getStartTime() throws SQLException;
short getStructAttrNCsId() throws SQLException;
long getTdoCState(String str, String str2) throws SQLException;
int getTxnMode();
Map getTypeMap() throws SQLException;
String getURL() throws SQLException;
short getVersionNumber() throws SQLException;
oracle.jdbc.OracleConnection getWrapper();
XAResource getXAResource() throws SQLException;
boolean isCharSetMultibyte(short s);
boolean isDescriptorSharable(OracleConnection oracleConnection) throws SQLException;
boolean isStatementCacheInitialized();
boolean isV8Compatible() throws SQLException;
int javaCharsToCHARBytes(char[] cArr, int i, byte[] bArr) throws SQLException;
int javaCharsToNCHARBytes(char[] cArr, int i, byte[] bArr) throws SQLException;
ResultSet newArrayDataResultSet(ARRAY array, long j, int i, Map map) throws SQLException;
ResultSet newArrayDataResultSet(Datum[] datumArr, long j, int i, Map map) throws SQLException;
ResultSet newArrayLocatorResultSet(ArrayDescriptor arrayDescriptor, byte[] bArr, long j, int i, Map map) throws SQLException;
ResultSetMetaData newStructMetaData(StructDescriptor structDescriptor) throws SQLException;
int numberOfDescriptorCacheEntries();
void putDescriptor(byte[] bArr, Object obj) throws SQLException;
OracleStatement refCursorCursorToStatement(int i) throws SQLException;
void removeAllDescriptor();
void removeDescriptor(String str);
void setAbandonedTimeoutEnabled(boolean z) throws SQLException;
void setApplicationContext(String str, String str2, String str3) throws SQLException;
void setDefaultFixedString(boolean z);
void setFDO(byte[] bArr) throws SQLException;
void setJavaObjectTypeMap(Map map);
void setStartTime(long j) throws SQLException;
void setTxnMode(int i);
void setTypeMap(Map map) throws SQLException;
Datum toDatum(CustomDatum customDatum) throws SQLException;
}