link start!
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
public interface ClientDataSupport {
|
||||
Object getClientData(Object obj);
|
||||
|
||||
Object removeClientData(Object obj);
|
||||
|
||||
Object setClientData(Object obj, Object obj2);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
public interface ObjectData {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
public interface ObjectDataFactory {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
public interface OracleCallableStatement extends oracle.jdbc.OracleCallableStatement, OraclePreparedStatement {
|
||||
byte[] privateGetBytes(int i) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
public interface OraclePreparedStatement extends oracle.jdbc.OraclePreparedStatement, OracleStatement {
|
||||
void enterExplicitCache() throws SQLException;
|
||||
|
||||
void enterImplicitCache() throws SQLException;
|
||||
|
||||
void exitExplicitCacheToActive() throws SQLException;
|
||||
|
||||
void exitExplicitCacheToClose() throws SQLException;
|
||||
|
||||
void exitImplicitCacheToActive() throws SQLException;
|
||||
|
||||
void exitImplicitCacheToClose() throws SQLException;
|
||||
|
||||
void setCheckBindTypes(boolean z);
|
||||
|
||||
void setInternalBytes(int i, byte[] bArr, int i2) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
public interface OracleResultSet extends oracle.jdbc.OracleResultSet {
|
||||
void closeStatementOnClose() throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
public interface OracleResultSetCache extends oracle.jdbc.OracleResultSetCache {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
public interface OracleResultSetMetaData extends oracle.jdbc.OracleResultSetMetaData {
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
public interface OracleStatement extends oracle.jdbc.OracleStatement {
|
||||
public static final int ACTIVE = 1;
|
||||
public static final int CACHED = 2;
|
||||
public static final int CLOSED = 0;
|
||||
public static final int DEFAULT_RSET_TYPE = 1;
|
||||
public static final int NON_CACHED = 3;
|
||||
|
||||
boolean getFixedString();
|
||||
|
||||
int getcacheState();
|
||||
|
||||
boolean getserverCursor();
|
||||
|
||||
int getstatementType();
|
||||
|
||||
int sendBatch() throws SQLException;
|
||||
|
||||
void setFixedString(boolean z);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package oracle.jdbc.internal;
|
||||
|
||||
public interface StructMetaData extends oracle.jdbc.StructMetaData {
|
||||
}
|
||||
Reference in New Issue
Block a user