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 ma...@apache.org on 2013/06/04 17:33:58 UTC
svn commit: r1489477 -
/db/derby/code/branches/10.6/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
Author: mamta
Date: Tue Jun 4 15:33:57 2013
New Revision: 1489477
URL: http://svn.apache.org/r1489477
Log:
DERBY-6237 (PreparedStatement.execute() fails starting 10.2 when multiple rows are updated and PreparedStatement.setCharacterStream(int, Reader, int) is used)
Fixing javadoc warning and comment
Modified:
db/derby/code/branches/10.6/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
Modified: db/derby/code/branches/10.6/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.6/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java?rev=1489477&r1=1489476&r2=1489477&view=diff
==============================================================================
--- db/derby/code/branches/10.6/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java (original)
+++ db/derby/code/branches/10.6/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java Tue Jun 4 15:33:57 2013
@@ -3831,7 +3831,6 @@ public class ParameterMappingTest extend
* In 10.1, setCharacterStream to update CLOB and varchar columns
* work even when update is going to update more than one row
*
- * @param conn - Connection object
* @param testCLOB - true means test setCharacterStream on CLOB
* - false means test setCharacterStream on VARCHAR
* @throws Exception
@@ -3859,14 +3858,14 @@ public class ParameterMappingTest extend
//Once DERBY-6237 is fixed, we should remove following if condition
// Following if condition will skip the test for 2 row update when
// testing CLOB columns in both embedded and network server with
- // short data. This results in failure in 10.6
+ // short data.
if ((!testCLOB))
helperTestDerby6237(2,1, testCLOB);
//update two rows and use large data
//Once DERBY-6237 is fixed, we should remove following if condition
// Following if condition will skip the test for 2 row update when
// testing CLOB columns in both embedded and network server with
- // large data. This results in failure in 10.6
+ // large data.
if (!(testCLOB))
helperTestDerby6237(2,2, testCLOB);