Skip to content

Commit f05a4a8

Browse files
committed
Fixed: SQLConnection.Transaction.isFinished() reported the opposite.
1 parent 6fd4e72 commit f05a4a8

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ SQL (C) Black Rook Software
33
by Matt Tropiano et al. (see AUTHORS.txt)
44

55

6+
Changed in 1.2.4
7+
----------------
8+
9+
- `Fixed` SQLConnection.Transaction.isFinished() reported the opposite.
10+
11+
612
Changed in 1.2.3
713
----------------
814

src/main/java/com/blackrook/sql/SQLConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public SQLResult[] getUpdateBatchResult(String query, Collection<Object[]> param
341341
*/
342342
public boolean isFinished()
343343
{
344-
return inTransaction();
344+
return !inTransaction();
345345
}
346346

347347
private void finish() throws SQLException

0 commit comments

Comments
 (0)