@ -346,7 +345,7 @@ public class LazyConnectionDataSourceProxy extends DelegatingDataSource {
@@ -346,7 +345,7 @@ public class LazyConnectionDataSourceProxy extends DelegatingDataSource {
@ -61,7 +61,7 @@ public class SingleConnectionDataSource extends DriverManagerDataSource
@@ -61,7 +61,7 @@ public class SingleConnectionDataSource extends DriverManagerDataSource
@ -196,6 +195,9 @@ public class TransactionAwareDataSourceProxy extends DelegatingDataSource {
@@ -196,6 +195,9 @@ public class TransactionAwareDataSourceProxy extends DelegatingDataSource {
sb.append(" from DataSource [").append(this.targetDataSource).append("]");
}
}
elseif(method.getName().equals("isClosed")){
returnthis.closed;
}
elseif(method.getName().equals("close")){
// Handle close method: only close if not within a transaction.