@Test public void testDirectCall(){ String name = "abc"; try { ejb.createFooNotSupported(name); fail(); }catch (EJBException e){ } }
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public void createFooNotSupported(String name){ Foo foo = new Foo(name); em.persist(foo); }
EJB_08_NOT_SUPPORTED { @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public void createFooNotSupported(String name){ Foo foo = new Foo(name); em.persist(foo); } }
EJB_08_NOT_SUPPORTED { @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public void createFooNotSupported(String name){ Foo foo = new Foo(name); em.persist(foo); }  }
EJB_08_NOT_SUPPORTED { @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public void createFooNotSupported(String name){ Foo foo = new Foo(name); em.persist(foo); }  @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) void createFooNotSupported(String name); @TransactionAttribute(TransactionAttributeType.SUPPORTS) void createFooSupports(String name); void createFooIndirectly(String name); void createFooIndirectlyWithEJBCall(String name); void createFooIndirectlyWithEJBCallWithSupports(String name); }
EJB_08_NOT_SUPPORTED { @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public void createFooNotSupported(String name){ Foo foo = new Foo(name); em.persist(foo); }  @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) void createFooNotSupported(String name); @TransactionAttribute(TransactionAttributeType.SUPPORTS) void createFooSupports(String name); void createFooIndirectly(String name); void createFooIndirectlyWithEJBCall(String name); void createFooIndirectlyWithEJBCallWithSupports(String name);  }