changeset 17040:5f8fb7cb8a45

8178915: Minor update to the PooledConnection javadoc Reviewed-by: joehw
author lancea
date Thu, 20 Apr 2017 13:57:44 -0400
parents cd75b15fb105
children 0162f0f6d173
files src/java.sql/share/classes/javax/sql/PooledConnection.java
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.sql/share/classes/javax/sql/PooledConnection.java	Thu Apr 20 09:52:38 2017 -0700
+++ b/src/java.sql/share/classes/javax/sql/PooledConnection.java	Thu Apr 20 13:57:44 2017 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -69,8 +69,9 @@
  * <p>
  * If the connection pool manager wraps or provides a proxy to the logical
  * handle returned from a call to {@code PoolConnection.getConnection}, the pool
- * manager must do
- * one of the following when the application calls {@code Connection.close}:
+ * manager must do one of the following when the connection pool manager
+ * closes or returns the {@code PooledConnection} to the pool in response to
+ * the application calling {@code Connection.close}:
  * <ul>
  * <li>call {@code endRequest} on the logical {@code Connection} handle
  * <li>call {@code close} on the logical {@code Connection} handle