if (lfTincanLrsStatementRef.isNew()) {
session.save(lfTincanLrsStatementRef);
lfTincanLrsStatementRef.setNew(false);
} else {
session.merge(lfTincanLrsStatementRef);
}
} catch (Exception e) {
throw processException(e);
} finally {
closeSession(session);