use of org.mamute.providers.MamuteDatabaseConfiguration in project mamute by caelum.
the class SchemaUpdateGenerator method main.
public static void main(String[] args) throws IOException {
MamuteDatabaseConfiguration mamuteConfiguration = new MamuteDatabaseConfiguration(new DefaultEnvironment(DEVELOPMENT), null, null);
mamuteConfiguration.init();
mamuteConfiguration.getSchemaUpdate().execute(true, false);
}
use of org.mamute.providers.MamuteDatabaseConfiguration in project mamute by caelum.
the class ForgotPasswordTest method setup.
@BeforeClass
public static void setup() throws IOException {
SessionFactoryCreator sessionFactoryCreator = new SessionFactoryCreator(new MamuteDatabaseConfiguration(env, null, null));
sessionFactoryCreator.init();
SessionFactory sf = sessionFactoryCreator.getInstance();
SESSION = sf.openSession();
}
Aggregations