db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r711221 - /db/derby/code/branches/10.4/java/testing/org/apache/derby/impl/jdbc/UTF8ReaderTest.java
Date Tue, 04 Nov 2008 10:45:58 GMT
Author: kristwaa
Date: Tue Nov  4 02:45:58 2008
New Revision: 711221

URL: http://svn.apache.org/viewvc?rev=711221&view=rev
Log:
DERBY-3825: Fixed compilation errors in package-private tests on the 10.4 branch.
Patch file: n/a

Modified:
    db/derby/code/branches/10.4/java/testing/org/apache/derby/impl/jdbc/UTF8ReaderTest.java

Modified: db/derby/code/branches/10.4/java/testing/org/apache/derby/impl/jdbc/UTF8ReaderTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.4/java/testing/org/apache/derby/impl/jdbc/UTF8ReaderTest.java?rev=711221&r1=711220&r2=711221&view=diff
==============================================================================
--- db/derby/code/branches/10.4/java/testing/org/apache/derby/impl/jdbc/UTF8ReaderTest.java
(original)
+++ db/derby/code/branches/10.4/java/testing/org/apache/derby/impl/jdbc/UTF8ReaderTest.java
Tue Nov  4 02:45:58 2008
@@ -54,7 +54,7 @@
      */
     public void testRepositioningSimple()
             throws IOException, SQLException, StandardException {
-        setAutoCommit(false);
+        getConnection().setAutoCommit(false);
         Statement stmt = createStatement();
         ResultSet rs = stmt.executeQuery(
                 "select * from Utf8ReaderTest where id = 101");
@@ -85,7 +85,7 @@
      */
     public void testRepositioningWithinBuffer()
             throws IOException, SQLException, StandardException {
-        setAutoCommit(false);
+        getConnection().setAutoCommit(false);
         Statement stmt = createStatement();
         ResultSet rs = stmt.executeQuery(
                 "select * from Utf8ReaderTest where id = 100");
@@ -123,7 +123,7 @@
      */
     public void testRepositioningWithinBufferRealText()
             throws IOException, SQLException, StandardException {
-        setAutoCommit(false);
+        getConnection().setAutoCommit(false);
         Statement stmt = createStatement();
         ResultSet rs = stmt.executeQuery(
                 // See insertTestData



Mime
View raw message