Index: org/postgresql/test/jdbc2/DatabaseEncodingTest.java =================================================================== RCS file: /usr/local/cvsroot/pgjdbc/pgjdbc/org/postgresql/test/jdbc2/DatabaseEncodingTest.java,v retrieving revision 1.1 diff -u -c -r1.1 DatabaseEncodingTest.java *** org/postgresql/test/jdbc2/DatabaseEncodingTest.java 17 Jul 2004 07:39:43 -0000 1.1 --- org/postgresql/test/jdbc2/DatabaseEncodingTest.java 20 Jul 2004 05:30:47 -0000 *************** *** 26,36 **** --- 26,38 ---- TestUtil.createTable(con, "testdbencoding", "unicode_ordinal integer primary key not null, unicode_string varchar(" + STEP + ")"); + con.setAutoCommit(false); } // Tear down the fixture for this test case. protected void tearDown() throws Exception { + con.setAutoCommit(true); TestUtil.dropTable(con, "testdbencoding"); TestUtil.closeDB(con); } *************** *** 60,67 **** rs.close(); - con.setAutoCommit(false); // Go faster! - // Create data. // NB: we only test up to d800 as code points above that are // reserved for surrogates in UTF-16 --- 62,67 ----