Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -40,15 +40,12 @@ public abstract class TransactionCallbackWithoutResult implements TransactionCal
|
||||
* context. Does not need to care about transactions itself, although it can retrieve
|
||||
* and influence the status of the current transaction via the given status object,
|
||||
* e.g. setting rollback-only.
|
||||
*
|
||||
* <p>A RuntimeException thrown by the callback is treated as application
|
||||
* exception that enforces a rollback. An exception gets propagated to the
|
||||
* caller of the template.
|
||||
*
|
||||
* <p>Note when using JTA: JTA transactions only work with transactional
|
||||
* JNDI resources, so implementations need to use such resources if they
|
||||
* want transaction support.
|
||||
*
|
||||
* @param status associated transaction status
|
||||
* @see TransactionTemplate#execute
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user