public class TicketsInitTxEJB extends Object
Modifier and Type | Field and Description |
---|---|
private String |
createScript |
private String |
dropScript |
private EntityManagerFactory |
emf |
private static org.slf4j.Logger |
logger |
private static String |
PU_NAME |
private UserTransaction |
utx |
Constructor and Description |
---|
TicketsInitTxEJB() |
Modifier and Type | Method and Description |
---|---|
int |
createDB() |
int |
dropDB() |
private List<String> |
getCommands(String script) |
void |
init() |
private static final org.slf4j.Logger logger
private static final String PU_NAME
private EntityManagerFactory emf
private UserTransaction utx
private String dropScript
private String createScript
@PostConstruct public void init()
public int dropDB()
public int createDB()
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.