Browse Source

fixed toString handling (SPR-5582)

pull/23217/head
Juergen Hoeller 15 years ago
parent
commit
a70f525d4e
  1. 3
      org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy.java

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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -194,6 +194,7 @@ public class TransactionAwareDataSourceProxy extends DelegatingDataSource {
else { else {
sb.append(" from DataSource [").append(this.targetDataSource).append("]"); sb.append(" from DataSource [").append(this.targetDataSource).append("]");
} }
return sb.toString();
} }
else if (method.getName().equals("isClosed")) { else if (method.getName().equals("isClosed")) {
return this.closed; return this.closed;

Loading…
Cancel
Save