commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r830162 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java
Date Tue, 27 Oct 2009 13:18:54 GMT
Author: markt
Date: Tue Oct 27 13:18:54 2009
New Revision: 830162

URL: http://svn.apache.org/viewvc?rev=830162&view=rev
Log:
Add some JavaDoc

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java?rev=830162&r1=830161&r2=830162&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java
Tue Oct 27 13:18:54 2009
@@ -25,6 +25,19 @@
 /* JDBC_4_ANT_KEY_END */
 import java.sql.SQLException;
 
+/**
+ * A base delegating implementation of {@link DatabaseMetaData}.
+ * <p>
+ * Those methods that create {@link ResultSet} objects, are wrapped to
+ * create {@link DelegatingResultSet} objects and the remaining methods
+ * simply call the corresponding method on the "delegate"
+ * provided in my constructor.
+ * <p>
+ * Extends AbandonedTrace to implement DatabaseMetaData tracking and
+ * logging of code which created the DatabaseMetaData. Tracking
+ * the DatabaseMetaData ensures that the Connection which created it can
+ * close any associated ResultSets on Connection close.
+ */
 public class DelegatingDatabaseMetaData extends AbandonedTrace
         implements DatabaseMetaData {
 



Mime
View raw message