Commit 68841d923b7f416ef765271a446f8ff86a62bf64
1 parent
b23578b3
Exists in
master
Adição de javadoc
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
impl/extension/jdbc/src/main/java/br/gov/frameworkdemoiselle/transaction/JDBCTransaction.java
| ... | ... | @@ -51,7 +51,7 @@ import br.gov.frameworkdemoiselle.internal.producer.ConnectionProducer; |
| 51 | 51 | import br.gov.frameworkdemoiselle.util.Beans; |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * Represents the strategy destinated to manage JPA transactions. | |
| 54 | + * Represents the strategy destinated to manage JDBC transactions. | |
| 55 | 55 | * |
| 56 | 56 | * @author SERPRO |
| 57 | 57 | * @see Transaction |
| ... | ... | @@ -92,6 +92,9 @@ public class JDBCTransaction implements Transaction { |
| 92 | 92 | } |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | + /** | |
| 96 | + * @throws DemoiselleException | |
| 97 | + */ | |
| 95 | 98 | @Override |
| 96 | 99 | public void commit() { |
| 97 | 100 | for (Connection connection : getDelegate()) { |
| ... | ... | @@ -103,6 +106,9 @@ public class JDBCTransaction implements Transaction { |
| 103 | 106 | } |
| 104 | 107 | } |
| 105 | 108 | |
| 109 | + /** | |
| 110 | + * @throws DemoiselleException | |
| 111 | + */ | |
| 106 | 112 | @Override |
| 107 | 113 | public void rollback() { |
| 108 | 114 | for (Connection connection : getDelegate()) { | ... | ... |