db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject svn commit: r291756 - /incubator/jdo/trunk/api20/src/java/javax/jdo/datastore/JDOConnection.java
Date Mon, 26 Sep 2005 21:41:52 GMT
Author: madams
Date: Mon Sep 26 14:41:50 2005
New Revision: 291756

URL: http://svn.apache.org/viewcvs?rev=291756&view=rev
Log:
Resolves JDO-152.  Added missing "void close();" method to java/javax/jdo/datastore/JDOConnection.java.

Modified:
    incubator/jdo/trunk/api20/src/java/javax/jdo/datastore/JDOConnection.java

Modified: incubator/jdo/trunk/api20/src/java/javax/jdo/datastore/JDOConnection.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/api20/src/java/javax/jdo/datastore/JDOConnection.java?rev=291756&r1=291755&r2=291756&view=diff
==============================================================================
--- incubator/jdo/trunk/api20/src/java/javax/jdo/datastore/JDOConnection.java (original)
+++ incubator/jdo/trunk/api20/src/java/javax/jdo/datastore/JDOConnection.java Mon Sep 26 14:41:50
2005
@@ -42,4 +42,16 @@
      * @since 2.0
      */
     Object getNativeConnection ();
-}
\ No newline at end of file
+    
+    /**
+     * Returns this connection to the JDO implementation.
+     * The object must be returned to the JDO implementation prior to
+     * calling any JDO method or performing any action on any persistent
+     * instance that might require the JDO implementation to use a
+     * connection. If the object has not been returned and the JDO
+     * implementation needs a connection, a <code>JDOUserException</code>
+     * is thrown.
+     * @since 2.0
+     */
+    void close();
+}



Mime
View raw message