public boolean commit(Connection conn) throws SQLException {
        boolean status = true;
        try {
            // Start of system transaction
            conn.setAutoCommit(false);
            BookingMapper bm = new BookingMapper();
            status = status && bm.addNewBooking(newBooking, conn);
            status = status && bm.updateBooking(modifiedBooking, conn);
            status = status && bm.deleteBooking(deleteBooking, conn);
            if (!status) {

                throw new Exception("Business Transaction aborted");
            }
            // System transaction ends with success
            conn.commit();
        } catch (Exception e) {
            System.out.println("fail in UnitOfWork - commit()");
            System.err.println(e);
            // System transaction fails, rollsback
            conn.rollback();
            status = false;
        }
        return status;
    }