link start!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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 {
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package oracle.net.TNSAddress;
|
||||
|
||||
import oracle.net.nl.NLException;
|
||||
import oracle.net.nl.NVPair;
|
||||
|
||||
public interface SchemaObject {
|
||||
public static final int ADDR = 0;
|
||||
public static final int ADDR_LIST = 1;
|
||||
public static final int ALIAS = 4;
|
||||
public static final int DB_SERVICE = 6;
|
||||
public static final int DESC = 2;
|
||||
public static final int DESC_LIST = 3;
|
||||
public static final int SERVICE = 5;
|
||||
|
||||
void initFromNVPair(NVPair nVPair) throws SOException;
|
||||
|
||||
void initFromString(String str) throws NLException, SOException;
|
||||
|
||||
int isA();
|
||||
|
||||
String isA_String();
|
||||
|
||||
String toString();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package oracle.net.TNSAddress;
|
||||
|
||||
public interface SchemaObjectFactoryInterface {
|
||||
public static final int ADDR = 0;
|
||||
public static final int ADDR_LIST = 1;
|
||||
public static final int ALIAS = 4;
|
||||
public static final int DB_SERVICE = 6;
|
||||
public static final int DESC = 2;
|
||||
public static final int DESC_LIST = 3;
|
||||
public static final int SERVICE = 5;
|
||||
|
||||
SchemaObject create(int i);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C00 {
|
||||
boolean compare(byte[] bArr, byte[] bArr2);
|
||||
|
||||
byte[] compute(byte[] bArr, int i);
|
||||
|
||||
void init(byte[] bArr, byte[] bArr2);
|
||||
|
||||
void renew();
|
||||
|
||||
int size();
|
||||
|
||||
int takeSessionKey(byte[] bArr, byte[] bArr2);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C07 {
|
||||
boolean compare(byte[] bArr, byte[] bArr2);
|
||||
|
||||
byte[] compute(byte[] bArr, int i);
|
||||
|
||||
void init(byte[] bArr, byte[] bArr2);
|
||||
|
||||
void renew();
|
||||
|
||||
int size();
|
||||
|
||||
int takeSessionKey(byte[] bArr, byte[] bArr2);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C08 {
|
||||
byte a();
|
||||
|
||||
void b();
|
||||
|
||||
byte[] c();
|
||||
|
||||
void d();
|
||||
|
||||
void e();
|
||||
|
||||
void f();
|
||||
|
||||
byte[] g();
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C10 {
|
||||
public static final int f = 220;
|
||||
public static final int g = 256;
|
||||
public static final int h = 0;
|
||||
public static final int i = 4;
|
||||
public static final int j = 1;
|
||||
public static final int k = 223;
|
||||
public static final int l = 222;
|
||||
public static final int m = 128;
|
||||
public static final int n = 56;
|
||||
public static final int o = 2;
|
||||
public static final int p = 142;
|
||||
public static final int q = 141;
|
||||
public static final int r = 211;
|
||||
public static final int s = 210;
|
||||
public static final int t = 140;
|
||||
public static final int u = 40;
|
||||
public static final int v = 143;
|
||||
public static final int w = 3;
|
||||
public static final int x = 213;
|
||||
public static final int y = 212;
|
||||
public static final int z = 221;
|
||||
|
||||
void a(byte[] bArr, byte[] bArr2) throws C04;
|
||||
|
||||
int b();
|
||||
|
||||
void c(byte[] bArr, byte[] bArr2) throws C04;
|
||||
|
||||
byte[] d(byte[] bArr) throws C04;
|
||||
|
||||
byte[] e(byte[] bArr) throws C04;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package oracle.net.aso;
|
||||
|
||||
public interface C11 {
|
||||
public static final int f = 220;
|
||||
public static final int g = 256;
|
||||
public static final int h = 0;
|
||||
public static final int i = 4;
|
||||
public static final int j = 1;
|
||||
public static final int k = 223;
|
||||
public static final int l = 222;
|
||||
public static final int m = 128;
|
||||
public static final int n = 56;
|
||||
public static final int o = 2;
|
||||
public static final int p = 142;
|
||||
public static final int q = 141;
|
||||
public static final int r = 211;
|
||||
public static final int s = 210;
|
||||
public static final int t = 140;
|
||||
public static final int u = 40;
|
||||
public static final int v = 143;
|
||||
public static final int w = 3;
|
||||
public static final int x = 213;
|
||||
public static final int y = 212;
|
||||
public static final int z = 221;
|
||||
|
||||
void a(byte[] bArr, byte[] bArr2) throws C09;
|
||||
|
||||
int b();
|
||||
|
||||
void c(byte[] bArr, byte[] bArr2) throws C09;
|
||||
|
||||
byte[] d(byte[] bArr) throws C09;
|
||||
|
||||
byte[] e(byte[] bArr) throws C09;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package oracle.net.ns;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.Properties;
|
||||
|
||||
public interface Communication {
|
||||
void abort() throws NetException, IOException;
|
||||
|
||||
void connect(String str, Properties properties) throws IOException, NetException;
|
||||
|
||||
void disconnect() throws IOException, NetException;
|
||||
|
||||
InputStream getInputStream() throws NetException;
|
||||
|
||||
Object getOption(int i) throws NetException, IOException;
|
||||
|
||||
OutputStream getOutputStream() throws NetException;
|
||||
|
||||
void sendBreak() throws IOException, NetException;
|
||||
|
||||
void sendInterrupt() throws IOException, NetException;
|
||||
|
||||
void sendReset() throws IOException, NetException;
|
||||
|
||||
void setO3logSessionKey(byte[] bArr) throws NetException, NetException;
|
||||
|
||||
void setOption(int i, Object obj) throws NetException, IOException;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package oracle.net.ns;
|
||||
|
||||
public interface Message {
|
||||
String getMessage(int i, String str);
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
package oracle.net.ns;
|
||||
|
||||
public interface SQLnetDef {
|
||||
public static final boolean ASSERT = false;
|
||||
public static final boolean DEBUG = false;
|
||||
public static final String DISABLE_OOB_STR = "DISABLE_OOB";
|
||||
public static final String JAVAX_NET_SSL_KEYSTORE = "javax.net.ssl.keyStore";
|
||||
public static final String JAVAX_NET_SSL_KEYSTOREPASSWORD = "javax.net.ssl.keyStorePassword";
|
||||
public static final int JAVAX_NET_SSL_KEYSTOREPASSWORD_OFF = 10;
|
||||
public static final String JAVAX_NET_SSL_KEYSTORETYPE = "javax.net.ssl.keyStoreType";
|
||||
public static final int JAVAX_NET_SSL_KEYSTORETYPE_OFF = 9;
|
||||
public static final int JAVAX_NET_SSL_KEYSTORE_OFF = 8;
|
||||
public static final String JAVAX_NET_SSL_TRUSTSTORE = "javax.net.ssl.trustStore";
|
||||
public static final String JAVAX_NET_SSL_TRUSTSTOREPASSWORD = "javax.net.ssl.trustStorePassword";
|
||||
public static final int JAVAX_NET_SSL_TRUSTSTOREPASSWORD_OFF = 13;
|
||||
public static final String JAVAX_NET_SSL_TRUSTSTORETYPE = "javax.net.ssl.trustStoreType";
|
||||
public static final int JAVAX_NET_SSL_TRUSTSTORETYPE_OFF = 12;
|
||||
public static final int JAVAX_NET_SSL_TRUSTSTORE_OFF = 11;
|
||||
public static final byte NIQBMARK = (byte) 1;
|
||||
public static final byte NIQIMARK = (byte) 3;
|
||||
public static final byte NIQRMARK = (byte) 2;
|
||||
public static final byte NO_HEADER_FLAGS = (byte) 0;
|
||||
public static final int NSGDONTCARE = 1;
|
||||
public static final int NSGNOATTNPR = 2048;
|
||||
public static final int NSGRECVATTN = 1024;
|
||||
public static final int NSGSENDATTN = 512;
|
||||
public static final int NSINAAUTHWANTED = 32;
|
||||
public static final int NSINADISABLEFORCONNECTION = 4;
|
||||
public static final int NSINAINTCHG = 2;
|
||||
public static final int NSINANOSERVICES = 8;
|
||||
public static final int NSINAREQUIRED = 16;
|
||||
public static final int NSINAWANTED = 1;
|
||||
public static final byte NSPACFL0 = (byte) 22;
|
||||
public static final byte NSPACFL1 = (byte) 23;
|
||||
public static final byte NSPACLEN = (byte) 18;
|
||||
public static final byte NSPACOFF = (byte) 20;
|
||||
public static final byte NSPACONE = (byte) 16;
|
||||
public static final byte NSPACOPT = (byte) 10;
|
||||
public static final byte NSPACSDU = (byte) 12;
|
||||
public static final byte NSPACTDU = (byte) 14;
|
||||
public static final byte NSPACVSN = (byte) 8;
|
||||
public static final byte NSPCNDAT = (byte) 34;
|
||||
public static final byte NSPCNFL0 = (byte) 32;
|
||||
public static final byte NSPCNFL1 = (byte) 33;
|
||||
public static final byte NSPCNLEN = (byte) 24;
|
||||
public static final byte NSPCNLOV = (byte) 10;
|
||||
public static final byte NSPCNMXC = (byte) 28;
|
||||
public static final byte NSPCNNTC = (byte) 18;
|
||||
public static final byte NSPCNOFF = (byte) 26;
|
||||
public static final byte NSPCNONE = (byte) 22;
|
||||
public static final byte NSPCNOPT = (byte) 12;
|
||||
public static final byte NSPCNSDU = (byte) 14;
|
||||
public static final byte NSPCNTDU = (byte) 16;
|
||||
public static final byte NSPCNTNA = (byte) 20;
|
||||
public static final byte NSPCNVSN = (byte) 8;
|
||||
public static final int NSPDADAT = 10;
|
||||
public static final int NSPDAFCFM = 4;
|
||||
public static final int NSPDAFEOF = 64;
|
||||
public static final int NSPDAFIMM = 128;
|
||||
public static final int NSPDAFLG = 8;
|
||||
public static final int NSPDAFMOR = 32;
|
||||
public static final int NSPDAFRCF = 2;
|
||||
public static final int NSPDAFRNT = 512;
|
||||
public static final int NSPDAFRSV = 8;
|
||||
public static final int NSPDAFRTS = 256;
|
||||
public static final int NSPDAFTKN = 1;
|
||||
public static final int NSPDAFZER = 0;
|
||||
public static final int NSPDFSDULN = 2048;
|
||||
public static final int NSPDFTDULN = 32767;
|
||||
public static final byte NSPFSRN = (byte) 8;
|
||||
public static final byte NSPHDFLGS = (byte) 5;
|
||||
public static final byte NSPHDHSM = (byte) 6;
|
||||
public static final byte NSPHDLEN = (byte) 0;
|
||||
public static final byte NSPHDPSM = (byte) 2;
|
||||
public static final byte NSPHDTYP = (byte) 4;
|
||||
public static final int NSPINSDULN = 255;
|
||||
public static final int NSPMKDAT = 10;
|
||||
public static final int NSPMKODT = 9;
|
||||
public static final int NSPMKTD0 = 0;
|
||||
public static final int NSPMKTD1 = 1;
|
||||
public static final int NSPMKTYP = 8;
|
||||
public static final int NSPMNSDULN = 512;
|
||||
public static final int NSPMNTDULN = 255;
|
||||
public static final int NSPMXCDATA = 230;
|
||||
public static final int NSPMXSDULN = 32767;
|
||||
public static final int NSPMXTDULN = 32767;
|
||||
public static final byte NSPRDDAT = (byte) 10;
|
||||
public static final byte NSPRDLEN = (byte) 8;
|
||||
public static final byte NSPRFDAT = (byte) 12;
|
||||
public static final byte NSPRFLEN = (byte) 10;
|
||||
public static final byte NSPRFSRS = (byte) 9;
|
||||
public static final byte NSPRFURS = (byte) 8;
|
||||
public static final byte NSPSIZHD = (byte) 8;
|
||||
public static final int NSPTAB = 9;
|
||||
public static final int NSPTAC = 2;
|
||||
public static final int NSPTAK = 3;
|
||||
public static final int NSPTAT = 13;
|
||||
public static final int NSPTCN = 1;
|
||||
public static final int NSPTCNL = 14;
|
||||
public static final int NSPTDA = 6;
|
||||
public static final int NSPTHI = 19;
|
||||
public static final int NSPTMK = 12;
|
||||
public static final int NSPTNL = 7;
|
||||
public static final int NSPTRD = 5;
|
||||
public static final int NSPTRF = 4;
|
||||
public static final int NSPTRS = 11;
|
||||
public static final int ORACLE_NET_NTMAXOPT = 10;
|
||||
public static final int ORACLE_NET_NTMINOPT = 0;
|
||||
public static final int ORACLE_NET_READ_TIMEOUT = 1;
|
||||
public static final int ORACLE_NET_SSL_CIPHER_SUITE = 5;
|
||||
public static final int ORACLE_NET_SSL_ENCRYPTION_ENABLED = 2;
|
||||
public static final int ORACLE_NET_SSL_FULL_DN_MATCH = 7;
|
||||
public static final int ORACLE_NET_SSL_MATCH_SERVER_DN = 6;
|
||||
public static final int ORACLE_NET_SSL_MATCH_SERVER_DN_WITH = 8;
|
||||
public static final int ORACLE_NET_SSL_PEER_CERT_CHAIN = 4;
|
||||
public static final int ORACLE_NET_SSL_PEER_CERT_DN = 3;
|
||||
public static final String ORACLE_NET_WALLET_LOCATION = "oracle.net.wallet_location";
|
||||
public static final int ORACLE_NET_WALLET_LOCATION_OFF = 5;
|
||||
public static final String SSL_CIPHER_SUITES = "oracle.net.ssl_cipher_suites";
|
||||
public static final int SSL_CIPHER_SUITES_OFF = 7;
|
||||
public static final String SSL_KEYMANAGERFACTORY_ALGORITHM = "ssl.keyManagerFactory.algorithm";
|
||||
public static final int SSL_KEYMANAGERFACTORY_ALGORITHM_OFF = 14;
|
||||
public static final String SSL_SERVER_DN_MATCH = "oracle.net.ssl_server_dn_match";
|
||||
public static final int SSL_SERVER_DN_MATCH_OFF = 4;
|
||||
public static final String SSL_TRUSTMANAGERFACTORY_ALGORITHM = "ssl.trustManagerFactory.algorithm";
|
||||
public static final int SSL_TRUSTMANAGERFACTORY_ALGORITHM_OFF = 15;
|
||||
public static final String SSL_VERSION = "oracle.net.ssl_version";
|
||||
public static final int SSL_VERSION_OFF = 6;
|
||||
public static final int TCP_CONNTIMEOUT_OFF = 2;
|
||||
public static final String TCP_CONNTIMEOUT_STR = "oracle.net.CONNECT_TIMEOUT";
|
||||
public static final int TCP_KEEPALIVE_OFF = 1;
|
||||
public static final int TCP_NODELAY_OFF = 0;
|
||||
public static final String TCP_NODELAY_STR = "TCP.NODELAY";
|
||||
public static final int TCP_READTIMEOUT_OFF = 3;
|
||||
public static final String TCP_READTIMEOUT_STR = "oracle.net.READ_TIMEOUT";
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package oracle.net.nt;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import oracle.net.ns.NetException;
|
||||
|
||||
public interface NTAdapter {
|
||||
void abort() throws IOException, NetException;
|
||||
|
||||
void connect() throws IOException;
|
||||
|
||||
void disconnect() throws IOException;
|
||||
|
||||
InputStream getInputStream() throws IOException;
|
||||
|
||||
Object getOption(int i) throws IOException, NetException;
|
||||
|
||||
OutputStream getOutputStream() throws IOException;
|
||||
|
||||
boolean isCharacteristicUrgentSupported() throws IOException;
|
||||
|
||||
void sendUrgentByte(int i) throws IOException;
|
||||
|
||||
void setOption(int i, Object obj) throws IOException, NetException;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package oracle.net.resolver;
|
||||
|
||||
import oracle.net.ns.NetException;
|
||||
|
||||
public interface NamingAdapterInterface {
|
||||
public static final boolean DEBUG = false;
|
||||
|
||||
String resolve(String str) throws NetException;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package oracle.net.resolver;
|
||||
|
||||
import oracle.net.TNSAddress.SchemaObject;
|
||||
import oracle.net.nt.ConnStrategy;
|
||||
|
||||
public interface NavSchemaObject extends SchemaObject {
|
||||
public static final String CD = "(CONNECT_DATA=";
|
||||
public static final String CID = "(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))";
|
||||
public static final boolean DEBUG = false;
|
||||
public static final String HC = "(HOP_COUNT=0)";
|
||||
public static final String LB = "(LOAD_BALANCE=yes)";
|
||||
public static final String NFO = "(FAILOVER=false)";
|
||||
public static final String SR = "(SOURCE_ROUTE=yes)";
|
||||
|
||||
void addToString(ConnStrategy connStrategy);
|
||||
|
||||
void navigate(ConnStrategy connStrategy, StringBuffer stringBuffer);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.Reader;
|
||||
import java.sql.SQLException;
|
||||
|
||||
public interface BfileDBAccess {
|
||||
void close(BFILE bfile) throws SQLException;
|
||||
|
||||
void closeFile(BFILE bfile) throws SQLException;
|
||||
|
||||
boolean fileExists(BFILE bfile) throws SQLException;
|
||||
|
||||
int getBytes(BFILE bfile, long j, int i, byte[] bArr) throws SQLException;
|
||||
|
||||
String getDirAlias(BFILE bfile) throws SQLException;
|
||||
|
||||
String getName(BFILE bfile) throws SQLException;
|
||||
|
||||
boolean isFileOpen(BFILE bfile) throws SQLException;
|
||||
|
||||
boolean isOpen(BFILE bfile) throws SQLException;
|
||||
|
||||
long length(BFILE bfile) throws SQLException;
|
||||
|
||||
InputStream newConversionInputStream(BFILE bfile, int i) throws SQLException;
|
||||
|
||||
Reader newConversionReader(BFILE bfile, int i) throws SQLException;
|
||||
|
||||
InputStream newInputStream(BFILE bfile, int i, long j) throws SQLException;
|
||||
|
||||
void open(BFILE bfile, int i) throws SQLException;
|
||||
|
||||
void openFile(BFILE bfile) throws SQLException;
|
||||
|
||||
long position(BFILE bfile, BFILE bfile2, long j) throws SQLException;
|
||||
|
||||
long position(BFILE bfile, byte[] bArr, long j) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.io.Reader;
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
|
||||
public interface BlobDBAccess {
|
||||
void close(BLOB blob) throws SQLException;
|
||||
|
||||
BLOB createTemporaryBlob(Connection connection, boolean z, int i) throws SQLException;
|
||||
|
||||
void freeTemporary(BLOB blob, boolean z) throws SQLException;
|
||||
|
||||
int getBytes(BLOB blob, long j, int i, byte[] bArr) throws SQLException;
|
||||
|
||||
int getChunkSize(BLOB blob) throws SQLException;
|
||||
|
||||
boolean isOpen(BLOB blob) throws SQLException;
|
||||
|
||||
boolean isTemporary(BLOB blob) throws SQLException;
|
||||
|
||||
long length(BLOB blob) throws SQLException;
|
||||
|
||||
InputStream newConversionInputStream(BLOB blob, int i) throws SQLException;
|
||||
|
||||
Reader newConversionReader(BLOB blob, int i) throws SQLException;
|
||||
|
||||
InputStream newInputStream(BLOB blob, int i, long j) throws SQLException;
|
||||
|
||||
OutputStream newOutputStream(BLOB blob, int i, long j) throws SQLException;
|
||||
|
||||
void open(BLOB blob, int i) throws SQLException;
|
||||
|
||||
long position(BLOB blob, BLOB blob2, long j) throws SQLException;
|
||||
|
||||
long position(BLOB blob, byte[] bArr, long j) throws SQLException;
|
||||
|
||||
int putBytes(BLOB blob, long j, byte[] bArr, int i, int i2) throws SQLException;
|
||||
|
||||
void trim(BLOB blob, long j) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package oracle.sql;
|
||||
|
||||
interface CharacterRepConstants {
|
||||
public static final int AL16UTF16LE_REP = 5;
|
||||
public static final int AL16UTF16_REP = 4;
|
||||
public static final int AL32UTF8_REP = 6;
|
||||
public static final int BYTE_REP = 1;
|
||||
public static final int UNKNOWN_REP = 1024;
|
||||
public static final int UTFE_REP = 3;
|
||||
public static final int UTF_REP = 2;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.io.Reader;
|
||||
import java.io.Writer;
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
|
||||
public interface ClobDBAccess {
|
||||
void close(CLOB clob) throws SQLException;
|
||||
|
||||
CLOB createTemporaryClob(Connection connection, boolean z, int i, short s) throws SQLException;
|
||||
|
||||
void freeTemporary(CLOB clob, boolean z) throws SQLException;
|
||||
|
||||
int getChars(CLOB clob, long j, int i, char[] cArr) throws SQLException;
|
||||
|
||||
int getChunkSize(CLOB clob) throws SQLException;
|
||||
|
||||
boolean isOpen(CLOB clob) throws SQLException;
|
||||
|
||||
boolean isTemporary(CLOB clob) throws SQLException;
|
||||
|
||||
long length(CLOB clob) throws SQLException;
|
||||
|
||||
InputStream newInputStream(CLOB clob, int i, long j) throws SQLException;
|
||||
|
||||
OutputStream newOutputStream(CLOB clob, int i, long j) throws SQLException;
|
||||
|
||||
Reader newReader(CLOB clob, int i, long j) throws SQLException;
|
||||
|
||||
Writer newWriter(CLOB clob, int i, long j) throws SQLException;
|
||||
|
||||
void open(CLOB clob, int i) throws SQLException;
|
||||
|
||||
long position(CLOB clob, String str, long j) throws SQLException;
|
||||
|
||||
long position(CLOB clob, CLOB clob2, long j) throws SQLException;
|
||||
|
||||
int putChars(CLOB clob, long j, char[] cArr, int i, int i2) throws SQLException;
|
||||
|
||||
void trim(CLOB clob, long j) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import oracle.jdbc.driver.OracleConnection;
|
||||
import oracle.jdbc.internal.ObjectData;
|
||||
|
||||
public interface CustomDatum extends ObjectData {
|
||||
Datum toDatum(OracleConnection oracleConnection) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import oracle.jdbc.internal.ObjectDataFactory;
|
||||
|
||||
public interface CustomDatumFactory extends ObjectDataFactory {
|
||||
CustomDatum create(Datum datum, int i) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
interface LdxLib {
|
||||
byte[] ldxadm(byte[] bArr, int i) throws SQLException;
|
||||
|
||||
byte[] ldxads(byte[] bArr, int i, int i2) throws SQLException;
|
||||
|
||||
int ldxchk(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] ldxdfd(int i, int i2) throws SQLException;
|
||||
|
||||
void ldxdtd(byte[] bArr, int[] iArr, int[] iArr2) throws SQLException;
|
||||
|
||||
String ldxdts(byte[] bArr, String str, String str2) throws SQLException;
|
||||
|
||||
String ldxdts(byte[] bArr, byte[] bArr2, String str) throws SQLException;
|
||||
|
||||
byte[] ldxdyf(byte[] bArr) throws SQLException;
|
||||
|
||||
void ldxftd(byte[] bArr, int[] iArr, int[] iArr2) throws SQLException;
|
||||
|
||||
byte[] ldxgdt() throws SQLException;
|
||||
|
||||
byte[] ldxldd(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] ldxnxd(byte[] bArr, int i) throws SQLException;
|
||||
|
||||
byte[] ldxrnd(byte[] bArr, String str) throws SQLException;
|
||||
|
||||
byte[] ldxsbm(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] ldxstd(String str, String str2, String str3) throws SQLException;
|
||||
|
||||
byte[] ldxsto(String str, String str2) throws SQLException;
|
||||
|
||||
void ldxsub(byte[] bArr, byte[] bArr2, int[] iArr, int[] iArr2) throws SQLException;
|
||||
|
||||
byte[] ldxtrn(byte[] bArr, String str) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
interface LnxLib {
|
||||
byte[] lnxabs(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxacos(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxadd(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] lnxasin(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxatan(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxatan2(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] lnxbex(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] lnxceil(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxcos(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxcpn(String str, boolean z, int i, boolean z2, int i2, String str2) throws SQLException;
|
||||
|
||||
byte[] lnxcsh(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxdec(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxdiv(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] lnxexp(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxfcn(String str, String str2, String str3) throws SQLException;
|
||||
|
||||
byte[] lnxflo(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxfpr(byte[] bArr, int i) throws SQLException;
|
||||
|
||||
byte[] lnxinc(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxln(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxlog(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] lnxmin(long j);
|
||||
|
||||
byte[] lnxmod(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] lnxmul(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] lnxneg(byte[] bArr) throws SQLException;
|
||||
|
||||
String lnxnfn(byte[] bArr, String str, String str2) throws SQLException;
|
||||
|
||||
String lnxnuc(byte[] bArr, int i, String str) throws SQLException;
|
||||
|
||||
double lnxnur(byte[] bArr);
|
||||
|
||||
byte[] lnxpow(byte[] bArr, int i) throws SQLException;
|
||||
|
||||
byte[] lnxren(double d) throws SQLException;
|
||||
|
||||
byte[] lnxrou(byte[] bArr, int i) throws SQLException;
|
||||
|
||||
byte[] lnxsca(byte[] bArr, int i, int i2, boolean[] zArr) throws SQLException;
|
||||
|
||||
byte[] lnxshift(byte[] bArr, int i) throws SQLException;
|
||||
|
||||
byte[] lnxsin(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxsnh(byte[] bArr) throws SQLException;
|
||||
|
||||
long lnxsni(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxsqr(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxsub(byte[] bArr, byte[] bArr2) throws SQLException;
|
||||
|
||||
byte[] lnxtan(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxtnh(byte[] bArr) throws SQLException;
|
||||
|
||||
byte[] lnxtru(byte[] bArr, int i) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package oracle.sql;
|
||||
|
||||
public interface Mutable {
|
||||
void copy(CustomDatum customDatum);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import oracle.jdbc.internal.ObjectData;
|
||||
|
||||
public interface ORAData extends ObjectData {
|
||||
Datum toDatum(Connection connection) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package oracle.sql;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import oracle.jdbc.internal.ObjectDataFactory;
|
||||
|
||||
public interface ORADataFactory extends ObjectDataFactory {
|
||||
ORAData create(Datum datum, int i) throws SQLException;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package oracle.sql.converter;
|
||||
|
||||
public interface CharacterConverterGroup {
|
||||
public static final int ID_12BYTE = 2;
|
||||
public static final int ID_1BYTE = 1;
|
||||
public static final int ID_2BYTEFIXED = 8;
|
||||
public static final int ID_JAEUC = 3;
|
||||
public static final int ID_LC = 4;
|
||||
public static final int ID_LCFIXED = 5;
|
||||
public static final int ID_SHIFT = 9;
|
||||
public static final int ID_SJIS = 6;
|
||||
public static final int ID_ZHTEUC = 7;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package oracle.sql.converter;
|
||||
|
||||
/* compiled from: CharacterSetMetaData */
|
||||
interface InternalCharacterSetMetaData {
|
||||
int getMaxCharLength(int i);
|
||||
|
||||
boolean isFixedWidth(int i);
|
||||
}
|
||||
Reference in New Issue
Block a user