5 Star 0 Fork 5

src-openEuler/glassfish-toplink-essentials

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
glassfish-persistence-2.0.41-jdk7.patch 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2020-10-20 11:27 +08:00 . modify compile script
Date: Mon, 19 Oct 2020 14:31:46 +0800
Subject: [PATCH] jdk7
---
.../internal/ejb/cmp3/jdbc/base/DataSourceImpl.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/main/java/oracle/toplink/essentials/internal/ejb/cmp3/jdbc/base/DataSourceImpl.java b/src/main/java/oracle/toplink/essentials/internal/ejb/cmp3/jdbc/base/DataSourceImpl.java
index 8c7bf31..52c2bc0 100644
--- a/src/main/java/oracle/toplink/essentials/internal/ejb/cmp3/jdbc/base/DataSourceImpl.java
+++ b/src/main/java/oracle/toplink/essentials/internal/ejb/cmp3/jdbc/base/DataSourceImpl.java
@@ -42,6 +42,8 @@ import java.sql.Connection;
import java.sql.SQLException;
import java.sql.DriverManager;
import javax.sql.DataSource;
+import java.sql.SQLFeatureNotSupportedException;
+import java.util.logging.Logger;
import oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.TransactionManagerImpl;
/**
@@ -178,4 +180,9 @@ public class DataSourceImpl implements DataSource {
public boolean isWrapperFor(Class<?> iface) throws SQLException {
return false;
}
+
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
+ throw new SQLFeatureNotSupportedException("Not implemented method getParentLogger()");
+ }
+
}
--
2.23.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/glassfish-toplink-essentials.git
git@gitee.com:src-openeuler/glassfish-toplink-essentials.git
src-openeuler
glassfish-toplink-essentials
glassfish-toplink-essentials
master

搜索帮助