From f037e27749f8aa74440cd5f06f02aca5c072a9f9 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Sat, 9 Jan 2010 18:39:03 +0000 Subject: [PATCH] fixed toString handling (SPR-5582) git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2795 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../jdbc/datasource/TransactionAwareDataSourceProxy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy.java b/org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy.java index 2409693a29f..5ff625fe40e 100644 --- a/org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy.java +++ b/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;