34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
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
|
|
|