Skip to content

Commit 780a259

Browse files
committed
re-added JDBC 4.1 getParentLogger method
1 parent 931ea5c commit 780a259

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ public boolean isWrapperFor(Class<?> iface) throws SQLException {
204204
return this.dataSource.isWrapperFor(iface);
205205
}
206206

207+
public Logger getParentLogger() {
208+
return Logger.getLogger(Logger.GLOBAL_LOGGER_NAME);
209+
}
210+
207211
public void shutdown() {
208212
shutdownDatabase();
209213
}

0 commit comments

Comments
 (0)