openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r739146 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java
Date Fri, 30 Jan 2009 02:33:04 GMT
Author: ppoddar
Date: Fri Jan 30 02:33:04 2009
New Revision: 739146

URL: http://svn.apache.org/viewvc?rev=739146&view=rev
Log:
OPENJPA-703: Deactivate a test whose domain model clashing with other tables during schema
creation

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java?rev=739146&r1=739145&r2=739146&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java
Fri Jan 30 02:33:04 2009
@@ -35,8 +35,13 @@
  * @author Pinaki Poddar
  *
  */
+
+//--------------------------------------------------------------------------
+//  Deactivated becuase of schema definition clasing with other
+//  commonly named stuff such as Person Book etc.
+
 public class TestEagerQueries extends SingleEMFTestCase {
-    public void setUp() {
+    public void xsetUp() {
         super.setUp(DROP_TABLES, 
             Person.class, Author.class, Singer.class,
             Merchandise.class, Book.class, CD.class);
@@ -70,7 +75,7 @@
         em.getTransaction().commit();
     }
     
-    public void testQueryWithLazyRelationIsCached() {
+    public void xtestQueryWithLazyRelationIsCached() {
         // Author is lazily related to Book
         String jpql = "select p from Author p";
         EntityManager em = emf.createEntityManager();
@@ -96,7 +101,7 @@
         assertNull(author2.getBooks());
     }
     
-    public void testQueryWithEagerRelationIsNotCached() {
+    public void xtestQueryWithEagerRelationIsNotCached() {
         // Book is eagerly related to Author
         String jpql = "select b from Book b";
         EntityManager em = emf.createEntityManager();



Mime
View raw message