java.lang.Object
io.ebeaninternal.api.HelpScopeTrans
Helper object to make AOP generated code simpler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidEntering an enhanced transactional method.static voidExiting an enhanced transactional method.static voidsetEnabled(boolean enabled) Defines if the @Transactional does what is supposed to do or is disabled (useful only unit testing)
-
Constructor Details
-
HelpScopeTrans
public HelpScopeTrans()
-
-
Method Details
-
enter
Entering an enhanced transactional method. -
exit
Exiting an enhanced transactional method. -
setEnabled
public static void setEnabled(boolean enabled) Defines if the @Transactional does what is supposed to do or is disabled (useful only unit testing)- Parameters:
enabled- if set to false, @Transactional will not create a transaction
-