diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java index a9c9a3b3eba..bd3abd04649 100644 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java +++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java @@ -194,8 +194,8 @@ public final class TransactionManager { Date transactionTime = GlobalTime.GreenwichMeanTimestamp(); TransactionRecordFactory factory = ServiceUtil.getTransactionFactory(); TransactionRecord transactionId = - factory.createOrUpdate(getTransactionCache(), transactionNumber, branch.getUuid(), comment, - transactionTime, authorArtId, 0, txType, getBranchCache()); + factory.createOrUpdate(getTransactionCache(), transactionNumber, branch.getUuid(), comment, transactionTime, + authorArtId, 0, txType, getBranchCache()); return transactionId; } @@ -214,7 +214,8 @@ public final class TransactionManager { IOseeStatement chStmt = ConnectionHandler.getStatement(); try { - chStmt.runPreparedQuery(SELECT_BRANCH_TRANSACTION_BY_DATE, branchUuid, new Timestamp(maxDateExclusive.getTime())); + chStmt.runPreparedQuery(SELECT_BRANCH_TRANSACTION_BY_DATE, branchUuid, + new Timestamp(maxDateExclusive.getTime())); if (chStmt.next()) { int transactionId = chStmt.getInt("transaction_id"); if (chStmt.wasNull()) { |