com.bm.testsuite.dataloader
Interface InitialDataSet

All Known Implementing Classes:
CSVInitialDataSet, EntityInitialDataSet

public interface InitialDataSet

This interface must be implemented if the database should contain initial data. These rows willinsertetinto the DB before every test and deleted after the test.

Author:
Daniel Wiese

Method Summary
 void cleanup(javax.persistence.EntityManager em)
          Deletes the data.
 void create()
          Creates the data.
 

Method Detail

create

void create()
Creates the data.


cleanup

void cleanup(javax.persistence.EntityManager em)
Deletes the data.

Parameters:
em - - the enntity manager.


Copyright © 2008. All Rights Reserved.