537cb5496f8716a72cf2c6e5567fd96143a2128d
[utils] /
1 package org.wamblee.support.persistence.hibernate;
2
3 import javax.persistence.EntityManager;
4 import javax.persistence.Persistence;
5 import javax.sql.DataSource;
6
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;
20
21 import static junit.framework.Assert.*;
22
23
24 /**
25  * This class shows an example of how to test an entity  using jpa. 
26  */
27 public class MyEntityExampleTest extends MyEntityExampleTestBase {
28     // Empty, all tests are inherited
29 }