/** * Insert an entry into the table * * @param ledgerEntry Ledger entry */ public void insert(LedgerEntry ledgerEntry) { try (Connection con = db.getConnection()) { ledgerEntry.save(con); } catch (SQLException e) { throw new RuntimeException(e.toString(), e); } }