You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by my...@apache.org on 2007/03/27 02:49:10 UTC

svn commit: r522683 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/HoldCursorTest.java

Author: myrnavl
Date: Mon Mar 26 17:49:09 2007
New Revision: 522683

URL: http://svn.apache.org/viewvc?view=rev&rev=522683
Log:
DERBY-2422 - activate for JSR169. Also fixed a javadoc warning.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/HoldCursorTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/HoldCursorTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/HoldCursorTest.java?view=diff&rev=522683&r1=522682&r2=522683
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/HoldCursorTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/HoldCursorTest.java Mon Mar 26 17:49:09 2007
@@ -48,14 +48,10 @@
 	
 	
 	  public static Test suite() {
-		  if ( !JDBC.vmSupportsJDBC3())
-	            return new TestSuite("empty HoldCursorTest - supported only from JDBC3.0 and above");
-	        else{
         TestSuite suite = new TestSuite("HoldCursorTest");
         suite.addTest(baseSuite("HoldCursorTest:embedded"));
         suite.addTest(baseSuite("HoldCursorTest:client"));
         return suite;
-	        }
     }
     private static Test baseSuite(String name) {
 
@@ -345,7 +341,7 @@
 	     * @param resultSetType
 	     * @param resultSetConcurrency
 	     * @param resultSetHoldability
-	     * @return
+	     * @return Statement with desired holdability set
 	     * @throws SQLException
 	     */
 	    public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException