Search in sources :

Example 1 with VTransactionManager

use of io.vertigo.commons.transaction.VTransactionManager in project vertigo by KleeGroup.

the class CreateTestDataBase method initMainStore.

public static void initMainStore() {
    final VTransactionManager transactionManager = Home.getApp().getComponentSpace().resolve(VTransactionManager.class);
    final TaskManager taskManager = Home.getApp().getComponentSpace().resolve(TaskManager.class);
    // A chaque test on recrée la table famille
    SqlUtil.execRequests(transactionManager, taskManager, getCreateMainStoreRequests(), "TK_INIT_MAIN", Optional.empty());
}
Also used : VTransactionManager(io.vertigo.commons.transaction.VTransactionManager) TaskManager(io.vertigo.dynamo.task.TaskManager)

Aggregations

VTransactionManager (io.vertigo.commons.transaction.VTransactionManager)1 TaskManager (io.vertigo.dynamo.task.TaskManager)1