|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2017 the original author or authors.
|
|
|
|
|
* Copyright 2012-2018 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -22,7 +22,6 @@ import java.sql.SQLFeatureNotSupportedException;
|
|
|
|
|
import java.util.Properties;
|
|
|
|
|
import java.util.logging.Logger;
|
|
|
|
|
|
|
|
|
|
import javax.sql.DataSource;
|
|
|
|
|
import javax.sql.XAConnection;
|
|
|
|
|
import javax.sql.XADataSource;
|
|
|
|
|
|
|
|
|
@ -111,7 +110,7 @@ public class PoolingDataSourceBean extends PoolingDataSource
|
|
|
|
|
@Override
|
|
|
|
|
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
|
|
|
try {
|
|
|
|
|
return ((DataSource) this).getParentLogger();
|
|
|
|
|
return this.getParentLogger();
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex) {
|
|
|
|
|
// Work around https://jira.codehaus.org/browse/BTM-134
|
|
|
|
|