You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/02/29 14:57:53 UTC
(commons-dbcp) branch master updated: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git
The following commit(s) were added to refs/heads/master by this push:
new 87290d9d Javadoc
87290d9d is described below
commit 87290d9db41b07b9dfb32bb6cc7b0cc918d69db1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Feb 29 09:57:46 2024 -0500
Javadoc
---
src/main/java/org/apache/commons/dbcp2/PoolingConnection.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java b/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
index 1aedc3b3..2d62609d 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
@@ -20,6 +20,7 @@ import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
+import java.sql.Statement;
import java.util.NoSuchElementException;
import java.util.Objects;
@@ -47,18 +48,27 @@ public class PoolingConnection extends DelegatingConnection<Connection>
/**
* Statement types.
*
+ * See subclasses of {@link Statement}.
+ *
* @since 2.0 protected enum.
* @since 2.4.0 public enum.
+ * @see Statement
+ * @see CallableStatement
+ * @see PreparedStatement
*/
public enum StatementType {
/**
* Callable statement.
+ *
+ * @see CallableStatement
*/
CALLABLE_STATEMENT,
/**
* Prepared statement.
+ *
+ * @see PreparedStatement
*/
PREPARED_STATEMENT
}