link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,170 @@
package oracle.jdbc;
import java.io.InputStream;
import java.io.Reader;
import java.sql.Array;
import java.sql.Blob;
import java.sql.CallableStatement;
import java.sql.Clob;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.SQLException;
import oracle.sql.ARRAY;
import oracle.sql.BFILE;
import oracle.sql.BINARY_DOUBLE;
import oracle.sql.BINARY_FLOAT;
import oracle.sql.BLOB;
import oracle.sql.CHAR;
import oracle.sql.CLOB;
import oracle.sql.CustomDatumFactory;
import oracle.sql.DATE;
import oracle.sql.Datum;
import oracle.sql.INTERVALDS;
import oracle.sql.INTERVALYM;
import oracle.sql.NUMBER;
import oracle.sql.OPAQUE;
import oracle.sql.ORAData;
import oracle.sql.ORADataFactory;
import oracle.sql.RAW;
import oracle.sql.REF;
import oracle.sql.ROWID;
import oracle.sql.STRUCT;
import oracle.sql.TIMESTAMP;
import oracle.sql.TIMESTAMPLTZ;
import oracle.sql.TIMESTAMPTZ;
public interface OracleCallableStatement extends CallableStatement, OraclePreparedStatement {
ARRAY getARRAY(int i) throws SQLException;
Object getAnyDataEmbeddedObject(int i) throws SQLException;
InputStream getAsciiStream(int i) throws SQLException;
BFILE getBFILE(int i) throws SQLException;
BLOB getBLOB(int i) throws SQLException;
InputStream getBinaryStream(int i) throws SQLException;
CHAR getCHAR(int i) throws SQLException;
CLOB getCLOB(int i) throws SQLException;
Reader getCharacterStream(int i) throws SQLException;
ResultSet getCursor(int i) throws SQLException;
Object getCustomDatum(int i, CustomDatumFactory customDatumFactory) throws SQLException;
DATE getDATE(int i) throws SQLException;
INTERVALDS getINTERVALDS(int i) throws SQLException;
INTERVALYM getINTERVALYM(int i) throws SQLException;
NUMBER getNUMBER(int i) throws SQLException;
OPAQUE getOPAQUE(int i) throws SQLException;
Object getORAData(int i, ORADataFactory oRADataFactory) throws SQLException;
Datum getOracleObject(int i) throws SQLException;
Datum[] getOraclePlsqlIndexTable(int i) throws SQLException;
Object getPlsqlIndexTable(int i) throws SQLException;
Object getPlsqlIndexTable(int i, Class cls) throws SQLException;
RAW getRAW(int i) throws SQLException;
REF getREF(int i) throws SQLException;
ROWID getROWID(int i) throws SQLException;
STRUCT getSTRUCT(int i) throws SQLException;
TIMESTAMP getTIMESTAMP(int i) throws SQLException;
TIMESTAMPLTZ getTIMESTAMPLTZ(int i) throws SQLException;
TIMESTAMPTZ getTIMESTAMPTZ(int i) throws SQLException;
InputStream getUnicodeStream(int i) throws SQLException;
void registerIndexTableOutParameter(int i, int i2, int i3, int i4) throws SQLException;
void registerOutParameter(int i, int i2, int i3, int i4) throws SQLException;
void registerOutParameter(String str, int i, int i2, int i3) throws SQLException;
void registerOutParameterBytes(int i, int i2, int i3, int i4) throws SQLException;
void registerOutParameterChars(int i, int i2, int i3, int i4) throws SQLException;
int sendBatch() throws SQLException;
void setARRAY(String str, ARRAY array) throws SQLException;
void setArray(String str, Array array) throws SQLException;
void setBFILE(String str, BFILE bfile) throws SQLException;
void setBLOB(String str, BLOB blob) throws SQLException;
void setBfile(String str, BFILE bfile) throws SQLException;
void setBinaryDouble(String str, BINARY_DOUBLE binary_double) throws SQLException;
void setBinaryFloat(String str, BINARY_FLOAT binary_float) throws SQLException;
void setBlob(String str, Blob blob) throws SQLException;
void setBytesForBlob(String str, byte[] bArr) throws SQLException;
void setCHAR(String str, CHAR charR) throws SQLException;
void setCLOB(String str, CLOB clob) throws SQLException;
void setClob(String str, Clob clob) throws SQLException;
void setCursor(String str, ResultSet resultSet) throws SQLException;
void setDATE(String str, DATE date) throws SQLException;
void setExecuteBatch(int i) throws SQLException;
void setINTERVALDS(String str, INTERVALDS intervalds) throws SQLException;
void setINTERVALYM(String str, INTERVALYM intervalym) throws SQLException;
void setNUMBER(String str, NUMBER number) throws SQLException;
void setOPAQUE(String str, OPAQUE opaque) throws SQLException;
void setORAData(String str, ORAData oRAData) throws SQLException;
void setPlsqlIndexTable(String str, Object obj, int i, int i2, int i3, int i4) throws SQLException;
void setRAW(String str, RAW raw) throws SQLException;
void setREF(String str, REF ref) throws SQLException;
void setROWID(String str, ROWID rowid) throws SQLException;
void setRef(String str, Ref ref) throws SQLException;
void setRefType(String str, REF ref) throws SQLException;
void setSTRUCT(String str, STRUCT struct) throws SQLException;
void setStringForClob(String str, String str2) throws SQLException;
void setTIMESTAMP(String str, TIMESTAMP timestamp) throws SQLException;
void setTIMESTAMPLTZ(String str, TIMESTAMPLTZ timestampltz) throws SQLException;
void setTIMESTAMPTZ(String str, TIMESTAMPTZ timestamptz) throws SQLException;
void setUnicodeStream(String str, InputStream inputStream, int i) throws SQLException;
}
@@ -0,0 +1,191 @@
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();
}
@@ -0,0 +1,19 @@
package oracle.jdbc;
import java.sql.Connection;
public interface OracleOCIFailover {
public static final int FO_ABORT = 3;
public static final int FO_BEGIN = 1;
public static final int FO_END = 2;
public static final int FO_ERROR = 5;
public static final int FO_EVENT_UNKNOWN = 7;
public static final int FO_NONE = 3;
public static final int FO_REAUTH = 4;
public static final int FO_RETRY = 6;
public static final int FO_SELECT = 2;
public static final int FO_SESSION = 1;
public static final int FO_TYPE_UNKNOWN = 4;
int callbackFn(Connection connection, Object obj, int i, int i2);
}
@@ -0,0 +1,32 @@
package oracle.jdbc;
import java.sql.ParameterMetaData;
import java.sql.SQLException;
public interface OracleParameterMetaData extends ParameterMetaData {
public static final int parameterModeIn = 1;
public static final int parameterModeInOut = 2;
public static final int parameterModeOut = 4;
public static final int parameterModeUnknown = 0;
public static final int parameterNoNulls = 0;
public static final int parameterNullable = 1;
public static final int parameterNullableUnknown = 2;
String getParameterClassName(int i) throws SQLException;
int getParameterCount() throws SQLException;
int getParameterMode(int i) throws SQLException;
int getParameterType(int i) throws SQLException;
String getParameterTypeName(int i) throws SQLException;
int getPrecision(int i) throws SQLException;
int getScale(int i) throws SQLException;
int isNullable(int i) throws SQLException;
boolean isSigned(int i) throws SQLException;
}
@@ -0,0 +1,249 @@
package oracle.jdbc;
import java.io.InputStream;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Time;
import java.sql.Timestamp;
import oracle.sql.ARRAY;
import oracle.sql.BFILE;
import oracle.sql.BINARY_DOUBLE;
import oracle.sql.BINARY_FLOAT;
import oracle.sql.BLOB;
import oracle.sql.CHAR;
import oracle.sql.CLOB;
import oracle.sql.CustomDatum;
import oracle.sql.DATE;
import oracle.sql.Datum;
import oracle.sql.INTERVALDS;
import oracle.sql.INTERVALYM;
import oracle.sql.NUMBER;
import oracle.sql.OPAQUE;
import oracle.sql.ORAData;
import oracle.sql.RAW;
import oracle.sql.REF;
import oracle.sql.ROWID;
import oracle.sql.STRUCT;
import oracle.sql.StructDescriptor;
import oracle.sql.TIMESTAMP;
import oracle.sql.TIMESTAMPLTZ;
import oracle.sql.TIMESTAMPTZ;
public interface OraclePreparedStatement extends PreparedStatement, OracleStatement {
public static final short FORM_CHAR = (short) 1;
public static final short FORM_NCHAR = (short) 2;
OracleParameterMetaData OracleGetParameterMetaData() throws SQLException;
void defineParameterType(int i, int i2, int i3) throws SQLException;
void defineParameterTypeBytes(int i, int i2, int i3) throws SQLException;
void defineParameterTypeChars(int i, int i2, int i3) throws SQLException;
int getExecuteBatch();
ResultSet getReturnResultSet() throws SQLException;
void registerReturnParameter(int i, int i2) throws SQLException;
void registerReturnParameter(int i, int i2, int i3) throws SQLException;
void registerReturnParameter(int i, int i2, String str) throws SQLException;
int sendBatch() throws SQLException;
void setARRAY(int i, ARRAY array) throws SQLException;
void setARRAYAtName(String str, ARRAY array) throws SQLException;
void setArrayAtName(String str, Array array) throws SQLException;
void setAsciiStreamAtName(String str, InputStream inputStream, int i) throws SQLException;
void setBFILE(int i, BFILE bfile) throws SQLException;
void setBFILEAtName(String str, BFILE bfile) throws SQLException;
void setBLOB(int i, BLOB blob) throws SQLException;
void setBLOBAtName(String str, BLOB blob) throws SQLException;
void setBfile(int i, BFILE bfile) throws SQLException;
void setBfileAtName(String str, BFILE bfile) throws SQLException;
void setBigDecimalAtName(String str, BigDecimal bigDecimal) throws SQLException;
void setBinaryDouble(int i, double d) throws SQLException;
void setBinaryDouble(int i, BINARY_DOUBLE binary_double) throws SQLException;
void setBinaryDoubleAtName(String str, double d) throws SQLException;
void setBinaryDoubleAtName(String str, BINARY_DOUBLE binary_double) throws SQLException;
void setBinaryFloat(int i, float f) throws SQLException;
void setBinaryFloat(int i, BINARY_FLOAT binary_float) throws SQLException;
void setBinaryFloatAtName(String str, float f) throws SQLException;
void setBinaryFloatAtName(String str, BINARY_FLOAT binary_float) throws SQLException;
void setBinaryStreamAtName(String str, InputStream inputStream, int i) throws SQLException;
void setBlobAtName(String str, Blob blob) throws SQLException;
void setBooleanAtName(String str, boolean z) throws SQLException;
void setByteAtName(String str, byte b) throws SQLException;
void setBytesAtName(String str, byte[] bArr) throws SQLException;
void setBytesForBlob(int i, byte[] bArr) throws SQLException;
void setBytesForBlobAtName(String str, byte[] bArr) throws SQLException;
void setCHAR(int i, CHAR charR) throws SQLException;
void setCHARAtName(String str, CHAR charR) throws SQLException;
void setCLOB(int i, CLOB clob) throws SQLException;
void setCLOBAtName(String str, CLOB clob) throws SQLException;
void setCheckBindTypes(boolean z);
void setClobAtName(String str, Clob clob) throws SQLException;
void setCursor(int i, ResultSet resultSet) throws SQLException;
void setCursorAtName(String str, ResultSet resultSet) throws SQLException;
void setCustomDatum(int i, CustomDatum customDatum) throws SQLException;
void setCustomDatumAtName(String str, CustomDatum customDatum) throws SQLException;
void setDATE(int i, DATE date) throws SQLException;
void setDATEAtName(String str, DATE date) throws SQLException;
void setDateAtName(String str, Date date) throws SQLException;
void setDisableStmtCaching(boolean z);
void setDoubleAtName(String str, double d) throws SQLException;
void setExecuteBatch(int i) throws SQLException;
void setFixedCHAR(int i, String str) throws SQLException;
void setFixedCHARAtName(String str, String str2) throws SQLException;
void setFloatAtName(String str, float f) throws SQLException;
void setFormOfUse(int i, short s);
void setINTERVALDS(int i, INTERVALDS intervalds) throws SQLException;
void setINTERVALDSAtName(String str, INTERVALDS intervalds) throws SQLException;
void setINTERVALYM(int i, INTERVALYM intervalym) throws SQLException;
void setINTERVALYMAtName(String str, INTERVALYM intervalym) throws SQLException;
void setIntAtName(String str, int i) throws SQLException;
void setLongAtName(String str, long j) throws SQLException;
void setNUMBER(int i, NUMBER number) throws SQLException;
void setNUMBERAtName(String str, NUMBER number) throws SQLException;
void setNullAtName(String str, int i) throws SQLException;
void setNullAtName(String str, int i, String str2) throws SQLException;
void setOPAQUE(int i, OPAQUE opaque) throws SQLException;
void setOPAQUEAtName(String str, OPAQUE opaque) throws SQLException;
void setORAData(int i, ORAData oRAData) throws SQLException;
void setORADataAtName(String str, ORAData oRAData) throws SQLException;
void setObjectAtName(String str, Object obj) throws SQLException;
void setObjectAtName(String str, Object obj, int i) throws SQLException;
void setObjectAtName(String str, Object obj, int i, int i2) throws SQLException;
void setOracleObject(int i, Datum datum) throws SQLException;
void setOracleObjectAtName(String str, Datum datum) throws SQLException;
void setPlsqlIndexTable(int i, Object obj, int i2, int i3, int i4, int i5) throws SQLException;
void setRAW(int i, RAW raw) throws SQLException;
void setRAWAtName(String str, RAW raw) throws SQLException;
void setREF(int i, REF ref) throws SQLException;
void setREFAtName(String str, REF ref) throws SQLException;
void setROWID(int i, ROWID rowid) throws SQLException;
void setROWIDAtName(String str, ROWID rowid) throws SQLException;
void setRefAtName(String str, Ref ref) throws SQLException;
void setRefType(int i, REF ref) throws SQLException;
void setRefTypeAtName(String str, REF ref) throws SQLException;
void setSTRUCT(int i, STRUCT struct) throws SQLException;
void setSTRUCTAtName(String str, STRUCT struct) throws SQLException;
void setShortAtName(String str, short s) throws SQLException;
void setStringAtName(String str, String str2) throws SQLException;
void setStringForClob(int i, String str) throws SQLException;
void setStringForClobAtName(String str, String str2) throws SQLException;
void setStructDescriptor(int i, StructDescriptor structDescriptor) throws SQLException;
void setStructDescriptorAtName(String str, StructDescriptor structDescriptor) throws SQLException;
void setTIMESTAMP(int i, TIMESTAMP timestamp) throws SQLException;
void setTIMESTAMPAtName(String str, TIMESTAMP timestamp) throws SQLException;
void setTIMESTAMPLTZ(int i, TIMESTAMPLTZ timestampltz) throws SQLException;
void setTIMESTAMPLTZAtName(String str, TIMESTAMPLTZ timestampltz) throws SQLException;
void setTIMESTAMPTZ(int i, TIMESTAMPTZ timestamptz) throws SQLException;
void setTIMESTAMPTZAtName(String str, TIMESTAMPTZ timestamptz) throws SQLException;
void setTimeAtName(String str, Time time) throws SQLException;
void setTimestampAtName(String str, Timestamp timestamp) throws SQLException;
void setURLAtName(String str, URL url) throws SQLException;
void setUnicodeStreamAtName(String str, InputStream inputStream, int i) throws SQLException;
}
+189
View File
@@ -0,0 +1,189 @@
package oracle.jdbc;
import java.sql.ResultSet;
import java.sql.SQLException;
import oracle.sql.ARRAY;
import oracle.sql.BFILE;
import oracle.sql.BLOB;
import oracle.sql.CHAR;
import oracle.sql.CLOB;
import oracle.sql.CustomDatum;
import oracle.sql.CustomDatumFactory;
import oracle.sql.DATE;
import oracle.sql.Datum;
import oracle.sql.INTERVALDS;
import oracle.sql.INTERVALYM;
import oracle.sql.NUMBER;
import oracle.sql.OPAQUE;
import oracle.sql.ORAData;
import oracle.sql.ORADataFactory;
import oracle.sql.RAW;
import oracle.sql.REF;
import oracle.sql.ROWID;
import oracle.sql.STRUCT;
import oracle.sql.TIMESTAMP;
import oracle.sql.TIMESTAMPLTZ;
import oracle.sql.TIMESTAMPTZ;
public interface OracleResultSet extends ResultSet {
public static final int CLOSE_CURSORS_AT_COMMIT = 2;
public static final int HOLD_CURSORS_OVER_COMMIT = 1;
ARRAY getARRAY(int i) throws SQLException;
ARRAY getARRAY(String str) throws SQLException;
BFILE getBFILE(int i) throws SQLException;
BFILE getBFILE(String str) throws SQLException;
BLOB getBLOB(int i) throws SQLException;
BLOB getBLOB(String str) throws SQLException;
BFILE getBfile(int i) throws SQLException;
BFILE getBfile(String str) throws SQLException;
CHAR getCHAR(int i) throws SQLException;
CHAR getCHAR(String str) throws SQLException;
CLOB getCLOB(int i) throws SQLException;
CLOB getCLOB(String str) throws SQLException;
ResultSet getCursor(int i) throws SQLException;
ResultSet getCursor(String str) throws SQLException;
CustomDatum getCustomDatum(int i, CustomDatumFactory customDatumFactory) throws SQLException;
CustomDatum getCustomDatum(String str, CustomDatumFactory customDatumFactory) throws SQLException;
DATE getDATE(int i) throws SQLException;
DATE getDATE(String str) throws SQLException;
INTERVALDS getINTERVALDS(int i) throws SQLException;
INTERVALDS getINTERVALDS(String str) throws SQLException;
INTERVALYM getINTERVALYM(int i) throws SQLException;
INTERVALYM getINTERVALYM(String str) throws SQLException;
NUMBER getNUMBER(int i) throws SQLException;
NUMBER getNUMBER(String str) throws SQLException;
OPAQUE getOPAQUE(int i) throws SQLException;
OPAQUE getOPAQUE(String str) throws SQLException;
ORAData getORAData(int i, ORADataFactory oRADataFactory) throws SQLException;
ORAData getORAData(String str, ORADataFactory oRADataFactory) throws SQLException;
Datum getOracleObject(int i) throws SQLException;
Datum getOracleObject(String str) throws SQLException;
RAW getRAW(int i) throws SQLException;
RAW getRAW(String str) throws SQLException;
REF getREF(int i) throws SQLException;
REF getREF(String str) throws SQLException;
ROWID getROWID(int i) throws SQLException;
ROWID getROWID(String str) throws SQLException;
STRUCT getSTRUCT(int i) throws SQLException;
STRUCT getSTRUCT(String str) throws SQLException;
TIMESTAMP getTIMESTAMP(int i) throws SQLException;
TIMESTAMP getTIMESTAMP(String str) throws SQLException;
TIMESTAMPLTZ getTIMESTAMPLTZ(int i) throws SQLException;
TIMESTAMPLTZ getTIMESTAMPLTZ(String str) throws SQLException;
TIMESTAMPTZ getTIMESTAMPTZ(int i) throws SQLException;
TIMESTAMPTZ getTIMESTAMPTZ(String str) throws SQLException;
void updateARRAY(int i, ARRAY array) throws SQLException;
void updateARRAY(String str, ARRAY array) throws SQLException;
void updateBFILE(int i, BFILE bfile) throws SQLException;
void updateBFILE(String str, BFILE bfile) throws SQLException;
void updateBLOB(int i, BLOB blob) throws SQLException;
void updateBLOB(String str, BLOB blob) throws SQLException;
void updateBfile(int i, BFILE bfile) throws SQLException;
void updateBfile(String str, BFILE bfile) throws SQLException;
void updateCHAR(int i, CHAR charR) throws SQLException;
void updateCHAR(String str, CHAR charR) throws SQLException;
void updateCLOB(int i, CLOB clob) throws SQLException;
void updateCLOB(String str, CLOB clob) throws SQLException;
void updateCustomDatum(int i, CustomDatum customDatum) throws SQLException;
void updateCustomDatum(String str, CustomDatum customDatum) throws SQLException;
void updateDATE(int i, DATE date) throws SQLException;
void updateDATE(String str, DATE date) throws SQLException;
void updateINTERVALDS(int i, INTERVALDS intervalds) throws SQLException;
void updateINTERVALYM(int i, INTERVALYM intervalym) throws SQLException;
void updateNUMBER(int i, NUMBER number) throws SQLException;
void updateNUMBER(String str, NUMBER number) throws SQLException;
void updateORAData(int i, ORAData oRAData) throws SQLException;
void updateORAData(String str, ORAData oRAData) throws SQLException;
void updateOracleObject(int i, Datum datum) throws SQLException;
void updateOracleObject(String str, Datum datum) throws SQLException;
void updateRAW(int i, RAW raw) throws SQLException;
void updateRAW(String str, RAW raw) throws SQLException;
void updateREF(int i, REF ref) throws SQLException;
void updateREF(String str, REF ref) throws SQLException;
void updateROWID(int i, ROWID rowid) throws SQLException;
void updateROWID(String str, ROWID rowid) throws SQLException;
void updateSTRUCT(int i, STRUCT struct) throws SQLException;
void updateSTRUCT(String str, STRUCT struct) throws SQLException;
void updateTIMESTAMP(int i, TIMESTAMP timestamp) throws SQLException;
void updateTIMESTAMPLTZ(int i, TIMESTAMPLTZ timestampltz) throws SQLException;
void updateTIMESTAMPTZ(int i, TIMESTAMPTZ timestamptz) throws SQLException;
}
@@ -0,0 +1,17 @@
package oracle.jdbc;
import java.io.IOException;
public interface OracleResultSetCache {
void clear() throws IOException;
void close() throws IOException;
Object get(int i, int i2) throws IOException;
void put(int i, int i2, Object obj) throws IOException;
void remove(int i) throws IOException;
void remove(int i, int i2) throws IOException;
}
@@ -0,0 +1,8 @@
package oracle.jdbc;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
public interface OracleResultSetMetaData extends ResultSetMetaData {
boolean isNCHAR(int i) throws SQLException;
}
@@ -0,0 +1,10 @@
package oracle.jdbc;
import java.sql.SQLException;
import java.sql.Savepoint;
public interface OracleSavepoint extends Savepoint {
int getSavepointId() throws SQLException;
String getSavepointName() throws SQLException;
}
@@ -0,0 +1,36 @@
package oracle.jdbc;
import java.sql.SQLException;
import java.sql.Statement;
public interface OracleStatement extends Statement {
public static final int EXPLICIT = 2;
public static final int IMPLICIT = 1;
public static final int NEW = 0;
void clearDefines() throws SQLException;
void closeWithKey(String str) throws SQLException;
int creationState();
void defineColumnType(int i, int i2) throws SQLException;
void defineColumnType(int i, int i2, int i3) throws SQLException;
void defineColumnType(int i, int i2, int i3, short s) throws SQLException;
void defineColumnType(int i, int i2, String str) throws SQLException;
void defineColumnTypeBytes(int i, int i2, int i3) throws SQLException;
void defineColumnTypeChars(int i, int i2, int i3) throws SQLException;
int getRowPrefetch();
boolean isNCHAR(int i) throws SQLException;
void setResultSetCache(OracleResultSetCache oracleResultSetCache) throws SQLException;
void setRowPrefetch(int i) throws SQLException;
}
@@ -0,0 +1,13 @@
package oracle.jdbc;
import java.sql.SQLException;
public interface StructMetaData extends OracleResultSetMetaData {
String getAttributeJavaName(int i) throws SQLException;
int getLocalColumnCount() throws SQLException;
String getOracleColumnClassName(int i) throws SQLException;
boolean isInherited(int i) throws SQLException;
}
@@ -0,0 +1,5 @@
package oracle.jdbc.dbaccess;
public interface Message {
String msg(String str, Object obj);
}
@@ -0,0 +1,9 @@
package oracle.jdbc.driver;
public interface ClientDataSupport {
Object getClientData(Object obj);
Object removeClientData(Object obj);
Object setClientData(Object obj, Object obj2);
}
@@ -0,0 +1,5 @@
package oracle.jdbc.driver;
public interface Message {
String msg(String str, Object obj);
}
@@ -0,0 +1,9 @@
package oracle.jdbc.driver;
import oracle.jdbc.internal.OracleConnection;
public interface OracleCloseCallback {
void afterClose(Object obj);
void beforeClose(OracleConnection oracleConnection, Object obj);
}
@@ -0,0 +1,4 @@
package oracle.jdbc.driver;
public interface OracleResultSetCache extends oracle.jdbc.internal.OracleResultSetCache {
}
@@ -0,0 +1,23 @@
package oracle.jdbc.driver;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
interface ScrollRsetStatement {
int copyBinds(Statement statement, int i) throws SQLException;
boolean getAutoRefetch() throws SQLException;
Connection getConnection() throws SQLException;
int getMaxFieldSize() throws SQLException;
String getOriginalSql() throws SQLException;
OracleResultSetCache getResultSetCache() throws SQLException;
void notifyCloseRset() throws SQLException;
void setAutoRefetch(boolean z) throws SQLException;
}
@@ -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 {
}
@@ -0,0 +1,13 @@
package oracle.jdbc.pool;
import java.sql.SQLException;
import javax.sql.DataSource;
import javax.sql.PooledConnection;
public interface OracleConnectionCache extends DataSource {
void close() throws SQLException;
void closePooledConnection(PooledConnection pooledConnection) throws SQLException;
void reusePooledConnection(PooledConnection pooledConnection) throws SQLException;
}
@@ -0,0 +1,9 @@
package oracle.jdbc.pool;
import oracle.jdbc.OracleConnection;
public interface OracleConnectionCacheCallback {
boolean handleAbandonedConnection(OracleConnection oracleConnection, Object obj);
void releaseConnection(OracleConnection oracleConnection, Object obj);
}
@@ -0,0 +1,26 @@
package oracle.jdbc.rowset;
import java.sql.SQLException;
import javax.sql.rowset.Joinable;
public interface OracleJoinable extends Joinable {
int[] getMatchColumnIndexes() throws SQLException;
String[] getMatchColumnNames() throws SQLException;
void setMatchColumn(int i) throws SQLException;
void setMatchColumn(String str) throws SQLException;
void setMatchColumn(int[] iArr) throws SQLException;
void setMatchColumn(String[] strArr) throws SQLException;
void unsetMatchColumn(int i) throws SQLException;
void unsetMatchColumn(String str) throws SQLException;
void unsetMatchColumn(int[] iArr) throws SQLException;
void unsetMatchColumn(String[] strArr) throws SQLException;
}
@@ -0,0 +1,13 @@
package oracle.jdbc.rowset;
import java.sql.SQLException;
import javax.sql.RowSet;
import javax.sql.rowset.Predicate;
public interface OraclePredicate extends Predicate {
boolean evaluate(Object obj, int i) throws SQLException;
boolean evaluate(Object obj, String str) throws SQLException;
boolean evaluate(RowSet rowSet);
}
@@ -0,0 +1,6 @@
package oracle.jdbc.rowset;
import javax.sql.rowset.spi.XmlReader;
public interface OracleWebRowSetXmlReader extends XmlReader {
}
@@ -0,0 +1,6 @@
package oracle.jdbc.rowset;
import javax.sql.rowset.spi.XmlWriter;
public interface OracleWebRowSetXmlWriter extends XmlWriter {
}
+22
View File
@@ -0,0 +1,22 @@
package oracle.jdbc.ttc7;
interface FunCodes {
public static final byte O3LOGA = (byte) 82;
public static final byte O3LOGON = (byte) 81;
public static final byte OALL7 = (byte) 71;
public static final byte OCANCEL = (byte) 20;
public static final byte OCLOSE = (byte) 8;
public static final byte OCOMMIT = (byte) 14;
public static final byte OCOMOFF = (byte) 13;
public static final byte OCOMON = (byte) 12;
public static final byte ODNY = (byte) 98;
public static final byte ODSCRARR = (byte) 43;
public static final byte OEXEC = (byte) 4;
public static final byte OKOD = (byte) 92;
public static final byte OLOBOPS = (byte) 96;
public static final byte OLOGOFF = (byte) 9;
public static final byte OOPEN = (byte) 2;
public static final byte OROLLBACK = (byte) 15;
public static final byte OSQL7 = (byte) 74;
public static final byte OVERSION = (byte) 59;
}
+42
View File
@@ -0,0 +1,42 @@
package oracle.jdbc.ttc7;
public interface TTCcodes {
public static final boolean DEBUG2_TTIdty = false;
public static final boolean DEBUG_O3log = false;
public static final boolean DEBUG_Oall7 = false;
public static final boolean DEBUG_Oclose = false;
public static final boolean DEBUG_Ocommoncall = false;
public static final boolean DEBUG_Odscrarr = false;
public static final boolean DEBUG_Oopen = false;
public static final boolean DEBUG_Oversion = false;
public static final boolean DEBUG_TTILob = false;
public static final boolean DEBUG_TTIdty = false;
public static final boolean DEBUG_TTIiov = false;
public static final boolean DEBUG_TTIoer = false;
public static final boolean DEBUG_TTIrxd = false;
public static final boolean DEBUG_TTIuds = false;
public static final boolean DEBUG_v8Odscrarr = false;
public static final boolean DEBUG_v8TTIuds = false;
public static final byte OERwANY = (byte) 1;
public static final byte OERwCPER = (byte) 32;
public static final byte OERwITCE = (byte) 8;
public static final byte OERwLICM = (byte) 2;
public static final byte OERwNVIC = (byte) 4;
public static final byte OERwPLEX = (byte) 64;
public static final byte OERwTRUN = (byte) 2;
public static final byte OERwUDnW = (byte) 16;
public static final byte TTIDTY = (byte) 2;
public static final byte TTIFUN = (byte) 3;
public static final byte TTIIOV = (byte) 11;
public static final byte TTILOBD = (byte) 14;
public static final byte TTINTY = (byte) 1;
public static final byte TTIOAC = (byte) 13;
public static final byte TTIOER = (byte) 4;
public static final byte TTIPRO = (byte) 1;
public static final byte TTIRPA = (byte) 8;
public static final byte TTIRXD = (byte) 7;
public static final byte TTIRXH = (byte) 6;
public static final byte TTISTA = (byte) 9;
public static final byte TTIUDS = (byte) 12;
public static final byte TTIWRN = (byte) 15;
}