mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
JDK 7编译兼容
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@914 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -18,6 +18,7 @@ package com.alibaba.druid.proxy.jdbc;
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.SQLFeatureNotSupportedException;
|
||||
import java.sql.SQLWarning;
|
||||
import java.sql.Statement;
|
||||
import java.util.ArrayList;
|
||||
@@ -305,4 +306,12 @@ public class StatementProxyImpl extends WrapperProxyImpl implements StatementPro
|
||||
public String getLastExecuteSql() {
|
||||
return lastExecuteSql;
|
||||
}
|
||||
|
||||
public void closeOnCompletion() throws SQLException {
|
||||
throw new SQLFeatureNotSupportedException();
|
||||
}
|
||||
|
||||
public boolean isCloseOnCompletion() throws SQLException {
|
||||
throw new SQLFeatureNotSupportedException();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user