Logic

「Logic」の編集履歴(バックアップ)一覧はこちら

Logic」(2014/08/17 (日) 20:51:50) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

public class Logic{ private Dao dao = new dao(); private static final Log logger = LogFactory.getLog(Logic.class); public Dto selectProduct(final String productCode) throws Exception { Dto dto = null; try{ dto = dao.selectProduct(productCode); }catch(Exception e){ logger.error(e); throw e; } return product; } public int updateProduct(final Dto Dto) throws Exception{ UserTransaction utx = null; int updateCpunt = 0; try{ utx = DaoUtil.getUserTransaction(); utx.begin(); catch(Exception e){ logger.error(e); if (utx != null){ try { utx.rollback(); }catch(SystemException e2){ logger.error(e2); } } throw e; } return uodateCount; } }

表示オプション

横に並べて表示:
変化行の前後のみ表示: