@Override
    public void commit() throws DaoException {
        try {
            mysqlConn.commit();
        } catch (SQLException ex) {
            throw new DaoConnectException("Error in commit connection in pool.");
        }
    }