mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix compile error
This commit is contained in:
@@ -25,13 +25,14 @@ import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Time;
|
||||
import java.sql.Timestamp;
|
||||
import java.time.ZoneId;
|
||||
import java.util.Calendar;
|
||||
import java.util.EnumSet;
|
||||
import java.util.Properties;
|
||||
import java.util.TimeZone;
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
import oracle.jdbc.OracleOCIFailover;
|
||||
import oracle.jdbc.OracleSavepoint;
|
||||
import oracle.jdbc.*;
|
||||
import oracle.jdbc.aq.AQDequeueOptions;
|
||||
import oracle.jdbc.aq.AQEnqueueOptions;
|
||||
import oracle.jdbc.aq.AQMessage;
|
||||
@@ -102,6 +103,111 @@ public class OracleMockConnection extends MockConnection implements oracle.jdbc.
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addLogicalTransactionIdEventListener(LogicalTransactionIdEventListener logicalTransactionIdEventListener) throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addLogicalTransactionIdEventListener(LogicalTransactionIdEventListener logicalTransactionIdEventListener, Executor executor) throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeLogicalTransactionIdEventListener(LogicalTransactionIdEventListener logicalTransactionIdEventListener) throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public LogicalTransactionId getLogicalTransactionId() throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDRCPEnabled() throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDRCPMultitagEnabled() throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDRCPReturnTag() throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDRCPPLSQLCallbackName() throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean attachServerConnection() throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void detachServerConnection(String s) throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean needToPurgeStatementCache() throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DRCPState getDRCPState() throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void beginRequest() throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void endRequest() throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setShardingKeyIfValid(OracleShardingKey oracleShardingKey, OracleShardingKey oracleShardingKey1, int i) throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShardingKey(OracleShardingKey oracleShardingKey, OracleShardingKey oracleShardingKey1) throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setShardingKeyIfValid(OracleShardingKey oracleShardingKey, int i) throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShardingKey(OracleShardingKey oracleShardingKey) throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValid(ConnectionValidation connectionValidation, int i) throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEncryptionProviderName() throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getChecksumProviderName() throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void close(Properties arg0) throws SQLException {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
@@ -247,6 +353,11 @@ public class OracleMockConnection extends MockConnection implements oracle.jdbc.
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TIMESTAMP createTIMESTAMP(Timestamp timestamp, Calendar calendar) throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public TIMESTAMP createTIMESTAMP(String arg0) throws SQLException {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
@@ -317,6 +428,11 @@ public class OracleMockConnection extends MockConnection implements oracle.jdbc.
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TIMESTAMPTZ createTIMESTAMPTZ(Timestamp timestamp, ZoneId zoneId) throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public TIMESTAMPTZ createTIMESTAMPTZ(String arg0, Calendar arg1) throws SQLException {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
@@ -799,6 +915,11 @@ public class OracleMockConnection extends MockConnection implements oracle.jdbc.
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void startup(DatabaseStartupMode databaseStartupMode, String s) throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unregisterAQNotification(AQNotificationRegistration arg0) throws SQLException {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
@@ -4,6 +4,7 @@ import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
|
||||
import oracle.jdbc.OracleDataFactory;
|
||||
import oracle.jdbc.OracleResultSet;
|
||||
import oracle.sql.ARRAY;
|
||||
import oracle.sql.BFILE;
|
||||
@@ -199,6 +200,16 @@ public class OracleMockResultSet extends MockResultSet implements OracleResultSe
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getObject(int i, OracleDataFactory oracleDataFactory) throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getObject(String s, OracleDataFactory oracleDataFactory) throws SQLException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ORAData getORAData(String arg0, ORADataFactory arg1) throws SQLException {
|
||||
// TODO Auto-generated method stub
|
||||
@@ -493,6 +504,21 @@ public class OracleMockResultSet extends MockResultSet implements OracleResultSe
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFromResultSetCache() throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] getCompileKey() throws SQLException {
|
||||
return new byte[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] getRuntimeKey() throws SQLException {
|
||||
return new byte[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateTIMESTAMP(int arg0, TIMESTAMP arg1) throws SQLException {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
Reference in New Issue
Block a user