This commit is contained in:
Rob Bygrave
2018-02-09 22:20:57 +13:00
parent 0807569ee2
commit 2f66e07c25
3 changed files with 27 additions and 24 deletions
@@ -83,6 +83,19 @@ public class EbeanSpringModuleTest {
logger.info("Found User with OID = 1");
}
@Test
public void testNonTransactional() {
userService.nonTransactional();
logger.info("nonTransactional done");
}
@Test
public void testFindNonTransactional() {
logger.info("Finding User with OID = 1 ...");
User user = userService.find(1);
logger.info("nonTransactional find " + user);
}
/**
* Return the user service.
*/