Package ejava.examples.daoex.dao
Class JPABookDAOTest
- java.lang.Object
-
- ejava.examples.daoex.dao.BookDAOTestBase
-
- ejava.examples.daoex.dao.JPABookDAOTest
-
public class JPABookDAOTest extends BookDAOTestBase
This class provides a concrete BookDAO for the base class of tests.
-
-
Field Summary
Fields Modifier and Type Field Description private EntityManager
em
private static EntityManagerFactory
emf
private static String
PERSISTENCE_UNIT
-
Fields inherited from class ejava.examples.daoex.dao.BookDAOTestBase
dao
-
-
Constructor Summary
Constructors Constructor Description JPABookDAOTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
static void
setUpClass()
void
tearDown()
static void
tearDownClass()
-
Methods inherited from class ejava.examples.daoex.dao.BookDAOTestBase
makeBook, testCreate, testDelete, testFindAll, testGet, testUpdate
-
-
-
-
Field Detail
-
PERSISTENCE_UNIT
private static final String PERSISTENCE_UNIT
- See Also:
- Constant Field Values
-
emf
private static EntityManagerFactory emf
-
em
private EntityManager em
-
-