1 package org.wamblee.support.persistence.toplink;
3 import javax.persistence.EntityManager;
4 import javax.persistence.Persistence;
5 import javax.sql.DataSource;
7 import org.dbunit.DataSourceDatabaseTester;
8 import org.dbunit.DatabaseTestCase;
9 import org.dbunit.IDatabaseTester;
10 import org.dbunit.dataset.ITable;
11 import org.dbunit.dataset.filter.ITableFilterSimple;
12 import org.junit.After;
13 import org.junit.Before;
14 import org.junit.Test;
15 import org.wamblee.support.persistence.DatabaseUtils;
16 import org.wamblee.support.persistence.JpaBuilder;
17 import org.wamblee.support.persistence.JpaTester;
18 import org.wamblee.support.persistence.MyEntityExampleTestBase;
19 import org.wamblee.support.persistence.JpaBuilder.JpaUnitOfWork;
21 import static junit.framework.Assert.*;
25 * This class shows an example of how to test an entity using jpa.
27 public class MyEntityExampleTest extends MyEntityExampleTestBase {
28 // Empty, all tests are inherited