fixed toString handling (SPR-5582)

master
Juergen Hoeller 15 years ago
parent 4ca54fb415
commit a70f525d4e
  1. 3
      org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy.java

@ -1,5 +1,5 @@
/*
* Copyright 2002-2009 the original author or authors.
* Copyright 2002-2010 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.
@ -194,6 +194,7 @@ public class TransactionAwareDataSourceProxy extends DelegatingDataSource {
else {
sb.append(" from DataSource [").append(this.targetDataSource).append("]");
}
return sb.toString();
}
else if (method.getName().equals("isClosed")) {
return this.closed;

Loading…
Cancel
Save