@Test public void testSayHello() { wrapper.wrap("john"); assertTrue(true); }
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) public String sayHello(String user) { System.out.println("hello"); Session session = doWork(user); return "Hello"; }
HelloBean implements Hello { @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) public String sayHello(String user) { System.out.println("hello"); Session session = doWork(user); return "Hello"; } }
HelloBean implements Hello { @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) public String sayHello(String user) { System.out.println("hello"); Session session = doWork(user); return "Hello"; }  }
HelloBean implements Hello { @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) public String sayHello(String user) { System.out.println("hello"); Session session = doWork(user); return "Hello"; }  @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) String sayHello(String user); Session doWork(String user); }
HelloBean implements Hello { @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) public String sayHello(String user) { System.out.println("hello"); Session session = doWork(user); return "Hello"; }  @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) String sayHello(String user); Session doWork(String user);  }