예제 #1
0
 public boolean createDatabase() {
   return EbeanServerManager.getManager().createDatabase(databaseName());
 }
예제 #2
0
 public EbeanServer server() {
   return EbeanServerManager.getManager().getServer(databaseName(), CLASSES, false);
 }
예제 #3
0
 public void createTables() {
   EbeanServer srv = EbeanServerManager.getManager().getServer(databaseName(), CLASSES, true);
   srv.beginTransaction().end();
 }
예제 #4
0
 public boolean isCreated() {
   return EbeanServerManager.getManager().isCreated(databaseName());
 }