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:31:21 UTC
svn commit: r1489474 -
/db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
Author: mamta
Date: Tue Jun 4 15:31:21 2013
New Revision: 1489474
URL: http://svn.apache.org/r1489474
Log:
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.7/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
Modified: db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java?rev=1489474&r1=1489473&r2=1489474&view=diff
==============================================================================
--- db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java (original)
+++ db/derby/code/branches/10.7/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java Tue Jun 4 15:31:21 2013
@@ -4308,7 +4308,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
@@ -4336,14 +4335,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.7
+ // 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.7
+ // large data.
if (!(testCLOB))
helperTestDerby6237(2,2, testCLOB);