openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1203245 - in /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence: cascade/ detach/ jdbc/annotations/ query/
Date Thu, 17 Nov 2011 16:25:00 GMT
Author: curtisr7
Date: Thu Nov 17 16:24:59 2011
New Revision: 1203245

URL: http://svn.apache.org/viewvc?rev=1203245&view=rev
Log:
Remove SQL logging from a number of tests.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/TestCascadePersist.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/detach/TestMergeNoStateManager.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/annotations/TestVersion.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryConvertPositionalParameters.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/TestCascadePersist.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/TestCascadePersist.java?rev=1203245&r1=1203244&r2=1203245&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/TestCascadePersist.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/TestCascadePersist.java
Thu Nov 17 16:24:59 2011
@@ -26,7 +26,9 @@ import org.apache.openjpa.persistence.te
 public class TestCascadePersist extends SingleEMFTestCase {
     @Override
     public void setUp() throws Exception {
-        setUp(DROP_TABLES, CascadePersistEntity.class, "openjpa.Log", "SQL=trace");
+        setUp(DROP_TABLES, CascadePersistEntity.class
+//            , "openjpa.Log", "SQL=trace"
+            );
     }
 
     public void testCascadePersistToDetachedFailure() {

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/detach/TestMergeNoStateManager.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/detach/TestMergeNoStateManager.java?rev=1203245&r1=1203244&r2=1203245&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/detach/TestMergeNoStateManager.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/detach/TestMergeNoStateManager.java
Thu Nov 17 16:24:59 2011
@@ -29,7 +29,9 @@ import org.apache.openjpa.persistence.te
 public class TestMergeNoStateManager extends SingleEMFTestCase {
     Object[] args =
         new Object[] { TimestampVersionEntity.class, IntVersionEntity.class, NoVersionEntity.class,
-            IntegerVersionEntity.class, CLEAR_TABLES, "openjpa.Log", "SQL=trace" };
+            IntegerVersionEntity.class, CLEAR_TABLES
+//            , "openjpa.Log", "SQL=trace" 
+            };
 
     IntVersionEntity _ive;
     NoVersionEntity _nve;

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/annotations/TestVersion.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/annotations/TestVersion.java?rev=1203245&r1=1203244&r2=1203245&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/annotations/TestVersion.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/annotations/TestVersion.java
Thu Nov 17 16:24:59 2011
@@ -35,7 +35,7 @@ public class TestVersion extends SingleE
     public void setUp() {
         setUp(AnnoTest1.class, AnnoTest2.class, AnnoTest3.class, Flat1.class,
             EmbedOwner.class, EmbedValue.class, CLEAR_TABLES 
-            ,"openjpa.Log","SQL=trace"
+//            ,"openjpa.Log","SQL=trace"
             ,"openjpa.ConnectionFactoryProperties","printParameters=true"
         );
 

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryConvertPositionalParameters.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryConvertPositionalParameters.java?rev=1203245&r1=1203244&r2=1203245&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryConvertPositionalParameters.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestQueryConvertPositionalParameters.java
Thu Nov 17 16:24:59 2011
@@ -42,7 +42,7 @@ public class TestQueryConvertPositionalP
     @Override
     public void setUp() {
         super.setUp(SimpleEntity.class, "openjpa.Compatibility", "ConvertPositionalParametersToNamed=true"
-        ,"openjpa.Log","SQL=trace"    
+//        ,"openjpa.Log","SQL=trace"    
         );
         _em = emf.createEntityManager();
         



Mime
View raw message