public class DatabaseCreator extends Object
Constructor and Description |
---|
DatabaseCreator() |
Modifier and Type | Method and Description |
---|---|
static ConnectionProvider |
connectionProvider() |
static void |
createDatabase(Connection c) |
static Database |
createDatabase(ConnectionProvider cp) |
static Database |
createDatabase(DataSource dataSource) |
static Database |
db() |
static String |
nextUrl() |
public static String nextUrl()
public static ConnectionProvider connectionProvider()
public static Database db()
public static Database createDatabase(DataSource dataSource)
public static Database createDatabase(ConnectionProvider cp)
public static void createDatabase(Connection c)
Copyright © 2014–2015. All rights reserved.