Skip to content

Commit efe5691

Browse files
committed
Added DriverProxy#getParentLogger() which is required in jdk7.
1 parent 94bd9e1 commit efe5691

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/org/apache/ibatis/datasource/unpooled/UnpooledDataSource.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,11 @@ public DriverPropertyInfo[] getPropertyInfo(String u, Properties p) throws SQLEx
248248
public boolean jdbcCompliant() {
249249
return this.driver.jdbcCompliant();
250250
}
251+
252+
@SuppressWarnings("unused")
253+
public Logger getParentLogger() {
254+
return Logger.getLogger(Logger.GLOBAL_LOGGER_NAME);
255+
}
251256
}
252257

253258
public <T> T unwrap(Class<T> iface) throws SQLException {

0 commit comments

Comments
 (0)