OPENJPA-703: Deactivate a test whose domain model clashing with other tables during schema creation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739146 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2009-01-30 02:33:04 +00:00
parent 295442d82f
commit d00a4e6eb9
1 changed files with 8 additions and 3 deletions

View File

@ -35,8 +35,13 @@ import org.apache.openjpa.persistence.test.SingleEMFTestCase;
* @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 @@ public class TestEagerQueries extends SingleEMFTestCase {
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 @@ public class TestEagerQueries extends SingleEMFTestCase {
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();