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:
@@ -34,7 +34,6 @@ import java.sql.Timestamp;
|
||||
import java.util.Calendar;
|
||||
|
||||
import oracle.jdbc.OracleParameterMetaData;
|
||||
import oracle.jdbc.OracleResultSetCache;
|
||||
import oracle.jdbc.dcn.DatabaseChangeRegistration;
|
||||
import oracle.sql.ARRAY;
|
||||
import oracle.sql.BFILE;
|
||||
@@ -62,7 +61,8 @@ import oracle.sql.TIMESTAMPTZ;
|
||||
|
||||
import com.alibaba.druid.mock.MockPreparedStatement;
|
||||
|
||||
public class OracleMockPreparedStatement extends MockPreparedStatement implements oracle.jdbc.internal.OraclePreparedStatement {
|
||||
public class OracleMockPreparedStatement
|
||||
extends MockPreparedStatement implements oracle.jdbc.internal.OraclePreparedStatement {
|
||||
|
||||
private int executeBatch = 50;
|
||||
private int rowPrefetch;
|
||||
@@ -766,12 +766,6 @@ public class OracleMockPreparedStatement extends MockPreparedStatement implement
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setResultSetCache(OracleResultSetCache arg0) throws SQLException {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRowPrefetch(int rowPrefetch) throws SQLException {
|
||||
this.rowPrefetch = rowPrefetch;
|
||||
@@ -782,6 +776,11 @@ public class OracleMockPreparedStatement extends MockPreparedStatement implement
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerBindChecksumListener(BindChecksumListener bindChecksumListener) throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getFixedString() {
|
||||
// TODO Auto-generated method stub
|
||||
@@ -1008,4 +1007,23 @@ public class OracleMockPreparedStatement extends MockPreparedStatement implement
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getQueryId() throws SQLException {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte[] getCompileKey() throws SQLException {
|
||||
return new byte[0];
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setACProxy(Object o) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getACProxy() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user