OChannelBinaryClient network = null;
try {
network = beginRequest(OChannelBinaryProtocol.REQUEST_TX_COMMIT);
network.writeInt(((OTransaction) iTx).getId());
network.writeByte((byte) (((OTransaction) iTx).isUsingLog() ? 1 : 0));
final List<OTransactionRecordEntry> tmpEntries = new ArrayList<OTransactionRecordEntry>();
while (iTx.getCurrentRecordEntries().iterator().hasNext()) {
for (OTransactionRecordEntry txEntry : iTx.getCurrentRecordEntries())