S2Buri
ãã©ã³ããããã©ã³ã¯ã¸ã®ãã¼ã¸ã¯è¦æ¨¡ãã§ããã¨çµæ§æ°åã®ããä½æ¥ã§ãã(æ± ã¨ãããã¨ã§ããã©ã³ã¯ã«ãã¼ã¸ãã¦ã³ããããã¾ããã (ä¸å¿ã¯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â¦
org.escafe.buri.common.participantprovider.impl.ExcelBaseParticipantProviderstudy-buriã«ã¯ãã¼ã«å¥ã®ã¯ã¼ã¯ããã¼ãå®ç¾©ããã¦ããªãã®ã§ã使ãæ¹ãããããããªãã XLSã®ã»ã«ã®è¦æ¹ãããããªãã®ã§è©³ããæ å ±ãã»ããã§ããhttp://d.hatena.ne.jp/nâ¦
study-buriã®ã»ããä¹ ã ã«åãããã®ã§ããã以ä¸ã®ãããªä¾å¤ã«ééããªãã ããããã DDLã¨DMLã¯æµããã®ã§ããCustomerãã¼ãã«ã¯ããã®ã§ããã DEBUG 2008-08-21 20:32:47,667 [http-8080-Processor24] ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ãã¾ãããtx=[FormatId=â¦
DBFluteã¨ï¼S2Buriãçµã¿åããã¦ã¿ã¾ããï¼ãbz.hoge.hoge.common.dbflute.exentity.Albumã§Insertãå¿ è¦ã§ããã¨ãªã£ã¦ãã¾ãï¼AlbumDao,Albumã¯DBFluteã§èªåçæãããã®ã§ï¼dbflute.diconã«ç´æ¥componentå®ç¾©ãã¦ãã¾ãï¼ ã¾ãï¼AlbumApplyBaoã¯ï¼dtoClâ¦
ç¸å¤ãããå¿ããæ¯æ¥ã§ããï¼ãã ãã¾DBFluteã¨ã®æ¦ããçµãã£ã¦ï¼Buriã®æ¦ãã«çªå ¥ä¸ï¼ ãã¨ãã°ï¼ä»¥ä¸ã®ãããªBaoãåå¨ããå ´åï¼ã¹ãã¼ãã®æ´æ°ã¯putIn, finishItemã§è¡ãã°ããã¨æãã¾ããï¼ç¶æ ãåå¾ããå ´åã¯ï¼getItemApplicateãgetItemFinishedâ¦
http://d.hatena.ne.jp/nobeans/20070422/1177259893ã®è¨äºãåèã«ï¼DatabaseParticipantProviderãªããã®ãæ¸ãã¦ã¿ã¾ããï¼ã§ï¼Baoã§ãã¼ã«ãã¨ã®å®è£ ãè¡ãã«ã¯ã©ã®ããã«ãã¹ãã§ããããï¼ä»¥ä¸ã®ãããªæãã§ãããã§ãããï¼ public interface PurePeâ¦
ã£ã¦ï¼å¤§ä¸å¤«ããªï¼ã¾ã ï¼è©¦ãã¦ãªããã©ï¼ S2Buriã¨ãã¦ã¯S2Daoã®è¦ç´ã«ãã£ã¦ä½ãã¦ããã°åé¡ãªãã§ãããï¼ãã®éã¯ï¼id:makotanããã¨ãã¢ãã¹ã ã£ãããã§ï¼ï¼ï¼ã¾ãã®æ©ä¼ã«ãä¼ãã§ããã¨ããã§ããm(_ _)m
ã¨ããæ¡ä»¶ã®ERDãæ¸ãã¦ãã¦ï¼ãã®æ¡ä»¶ã§S2Buriã使ãã¨ãããªãã¨èãã¦è¨è¨ãã¦ããã®ã§ããï¼Buriã®Baoã§ãã®ãããªå ´åã©ã®ããã«å®è£ ããã®ãããã®ã§ããããï¼ ãã¨ãã°ï¼teedaã®Orderã®ãµã³ãã«ã§ããã®ã§ããï¼æ¥åããã¼ã«æµãã¦ãããã¹ã¦ã®ã¬ã³â¦
Toolããããã調ã¹ã¦ãããä½ããã¤ãªãã£ãï¼ï¼ï¼ããã±ã¼ã¸ã«Applicationsã«order_App1ãOgnlInvokerã¨ï¼order_App2ãAfterOgnlInvokerã§å®ç¾©ããã¦ããï¼ ãããï¼Tool Activityã®Toolãè¦ãã¨ï¼IDãæå®ãã¦OGNLå¼ãè¨è¿°ããã¦ããï¼http://d.hatena.neâ¦
æ¬æ¥ããstudy-buriã®ã½ã¼ã¹ãä¸æ°ã«èªã¿è¾¼ãã§ãã¾ãï¼Teedaãªã®ã§ãããããããï¼Baoã¤ã³ã¿ã¼ãã§ã¤ã¹ã調ã¹ãï¼ãµããµãï¼ BuriConverterã¢ããã¼ã·ã§ã³ï¼å¼æ°ã«æå®ããããªãã¸ã§ã¯ããDTOã«å¤æããOGNLå¼ãï¼ æåã®çå ä¸ã¤ç® 注æ管çã®åºè·ä½æ¥â¦
id:makotanããï¼ ã²ãã³ãã«ï¼Buriã®å¦ç¿ãã¨æã£ã¦ï¼SVNã®trunkããstudy-buriããã§ãã¯ã¢ã¦ãããã®ã§ããï¼ä»¥ä¸ã®ãããªç¶æ³ã«ãªã£ã¦ãã¾ãã¾ããï¼ ç°å¢ãæ£ããä½ãã«ã¯ã©ããããããã§ããããï¼ ã©ããã«å®å ¨ã«åä½ãããã¼ã¸ã§ã³ãããã°æãã¦ãâ¦
study-buriã«ããOrderBaoã¯ï¼order(OrderInfoDto dto)ã¡ã½ãããå¼ã°ããæï¼Buriã¢ããã¼ã·ã§ã³ã«æå®ããdtoClassã«é¢é£ããDaoã使ãããªï¼ãã®ãããã®Baoã¨Daoã®é¢é£ã¯ã©ããã¿ãã°ããã®ã§ããããï¼ããã¨ãs2buriã¯ããã¼å¶å¾¡ã ãã§å®éã®ã¨ã³ãã£â¦
FPæ³ã¯ã ããã社å çã«å®ç¨åã§ããã®ã§ï¼å¦ã¶ã·ãªã¼ãºã®ç¬¬äºå¼¾ï¼ã¯ã¼ã¯ããã¼ã¨ã³ã¸ã³ã«ã¤ãã¦å¦ã¶ï¼ ããã¼ï¼æ£ç´ï¼s2buriã®ããã¥ã¡ã³ãé¡ã¯ã¡ãã£ã¨èª¬æä¸è¶³ãªç¹ãæ£è¦ããã¾ããï¼ï¼ï¼ ã½ã¼ã¹ãèªãã§ãç解ã§ãããã¨ããã¨ãããç¾å®çã§ãªãã®ã§ï¼Gâ¦