Buri
id:imai78ã«ã¯ãããã¾ããw ãã£ã¦ã«ã¹ãã¼ã«ã«ãªã£ã¦ããããã²ãã³ãã«ããã¯ããã¯ããããw http://groups.google.co.jp/group/buri-ja/web/buri-ja-2?hl=jaãã¼ã¦ãã©ãããã©ããããæå ã«ãã«ãç°å¢ãã¼ãã£w
ãã©ã³ããããã©ã³ã¯ã¸ã®ãã¼ã¸ã¯è¦æ¨¡ãã§ããã¨çµæ§æ°åã®ããä½æ¥ã§ãã(æ± ã¨ãããã¨ã§ããã©ã³ã¯ã«ãã¼ã¸ãã¦ã³ããããã¾ããã (ä¸å¿ã¯UTã¯ãã¹ãã¦ããã®ã§ãããorg.escafe.buri.common.participantprovider.implã®UTãæãã¦ããã®ã§ããã¾ã ãã¹â¦
å¾æ¥ããããS2Daoã®UTããã¹ããããã«ãªãã¾ããã ããã§ãBuriãS2Daoã§ããS2JDBCã§ããDBFluteã§ãåä½ãããã¨ãå¯è½ã«ãªãã¾ããã ãããããTrunkã¸ã®ãã¼ã¸ãæ¤è¨ãããã¨æãã¾ãã
å ã«ç´¹ä»ããS2JDBCToDataAccessRuleã§æ¢åã®Buriã§ãS2JDBCã®Serviceã¯ã©ã¹ãS2Daoã®Daoã®å¤ããã«ä½¿ãããã¨ã¯ãã§ã«å®ç¾ãã¦ãã¾ããããBuriå é¨ã®ãã¼ãã«ã®ã¢ã¯ã»ã¹ã«ã¯ã¾ã S2Daoã使ã£ã¦ãã¾ãããBURIç³»ã®ãã¼ãã«ã§ãã ä»åãS2Daoãåãé¤ãS2å â¦
追è¨ï¼ åãªããã¹ãã±ã¼ã¹ã®åãééãã ã£ãããã datas = billBao.getEndBill(); assertEquals(0, datas.size()); ãæ£è§£ãããã¨ãããããBaoAnnotationTestã¯éãããã«ãªã£ããBuriSignalTestãéã£ã¦ãªããããã°ããã£ã£ã¨ããã-æ²ç¸ãã帰éãã¦â¦
ãã®4ã®åé¡ã¯è§£æ¶ã§ãã¾ãããä»ã®UTãå¾ã ã«éãããã«ãªã£ã¦ãã¾ãããã§ãä»åã¯ã org.escafe.buri.dao.util.BuriStateUtilTest ã®ãã¹ããå ¨æ» ãªä»¶ï½ãã°è¦ãã¨ã DEBUG 2009-03-17 11:08:03,204 [main] update BURI_TEST_INT set VALUE = 'hoge', VERâ¦
S2Daoã®jarãåãé¤ãã¦JUnitãéããã¨ãç®æ¨ã«ãã¦ããããããããã£ã¦ãã¾ããå½ç¶ãã°ã£ã¦ã¾ããorg.escafe.buri.dao.util.BuriDataUtilTestã®testDataUtilTxã§ä»¥ä¸ã®ãããªä¾å¤ãã§ã¦ããç¶æ³ããªãã ããåå wsetupPkeyã§if (util instanceof DataAccâ¦
id:makotanããããã¨ãï¼ãªãã¨ãã¦ããããã¹ããéãããã«ãªãã¾ããã åºæ¬çã«ã¯ãS2JDBCã®Serviceã¯ã©ã¹ãDaoã«è¦ããããã«ä¿®æ£ããæãã 次ã¯ãµã³ãã«ã¢ããªãS2JDBCç¨ã«æ¸ãæãã¦ãã¹ããã¦ã¿ããæçµçã«ã¯S2Daoã®jarãä¾åé¢ä¿ããå¤ãã¦ä½¿ãâ¦
ã¨ãããããS2JDBCToDataAccessRule ãå®è£ ãã¦ã¿ããã©ãtestDataFieldType08ã¨ãtestDataFieldType09㧠以ä¸ã®ä¾å¤ãçºçãã¦ãã¾ã£ãããã¼ããä½ãããããã ãããããtestç¨ã«s2jdbc.diconããallTestService.diconãèªã¿è¾¼ãããã«ããã¤ããã§ããâ¦
Buriã¯S2Daoãããã¯DBFluteãåæã¨ãã¦ããã®ã§ãããS2JDBCã対å¿ã§ãããããï¼ã¨ããid:imai78ãããããã¢ããã¤ã¹åããã®ã§ãããã調ã¹ã¦ã¿ããã¨ãããããBuriDataFieldProcRuleã¤ã³ã¿ã¼ãã§ã¤ã¹ã®å®è£ ãS2JDBCç¨ã«ä½ãã°ããã®ããªã S2DaoToDatâ¦
http://d.hatena.ne.jp/a-conv/20080329#1206754153 ãã°ããããé£æºã§ããããã«ãªã£ãã®ã§ãããBuriã¯ã¯ã¼ã¯ããã¼ã®ä¸éç¶æ ã®ã¨ã³ãã£ãã£ãåå¾ããã®ã¯ããã®ã§ãããä»ã®ãã¼ãã«ã®æ å ±ã¨ä½µãã¦åç §ãããå ´åã¯S2Daoã§ã·ã³ã·ã³BURIç³»ã®ãã¼ãã«ã¨Jâ¦