public class EmbeddedTestDB
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static EmbeddedTestDB |
DATABASE |
Constructor and Description |
---|
EmbeddedTestDB(Resource... mappings) |
EmbeddedTestDB(ResourceDatabasePopulator dbPopulator,
boolean generateSchema,
Resource... mappings) |
Modifier and Type | Method and Description |
---|---|
javax.sql.DataSource |
getDataSource() |
SessionFactory |
getSessionFactory() |
void |
shutdown() |
public static final EmbeddedTestDB DATABASE
public EmbeddedTestDB(ResourceDatabasePopulator dbPopulator, boolean generateSchema, Resource... mappings) throws java.lang.Exception
java.lang.Exception
public EmbeddedTestDB(Resource... mappings) throws java.lang.Exception
java.lang.Exception