public class DataGenerator extends Object
Constructor and Description |
---|
DataGenerator(javax.persistence.EntityManager entityManager) |
Modifier and Type | Method and Description |
---|---|
void |
clean()
This method deletes data from JPA tables created.
|
void |
generate()
This method generates data to be used in the application.
|
public DataGenerator(javax.persistence.EntityManager entityManager)
public void generate()
public void clean()
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.