db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r522683 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/HoldCursorTest.java
Date Tue, 27 Mar 2007 00:49:10 GMT
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



Mime
View raw message