Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.422 :

Posted: Sun Aug 25, 2013 8:53 am
by JanOhrstrom
I have a suggested correction for answer 1.

Current text:

@Stateless
@TransactionManagement(BEAN)
public class MySessionBean implements MySession {
...
}

Suggested correction:
@Stateless
@TransactionManagement(TransactionManagementType.BEAN)
public class MySessionBean implements MySession {
...
}
Or maybe (BEAN) is some sort of short form for Enum Constant (TransactionManagementType.BEAN)?

Re: About Question enthuware.oce-ejbd.v6.2.422 :

Posted: Sun Aug 25, 2013 9:50 am
by admin
Hi,
Yes, it can be assumed that TransactionManagementType.* has been statically imported since the full code listing is not shown. (Even @Stateless will not work without appropriate import statements).

This has now been updated to make it more clear. Thank you for your feedback!

-Paul.