mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Add test for https://github.com/ebean-orm/ebean/issues/1254
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user