2009-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã£ãã®ä¾ã§BlogController.listãå®è¡ããã¨ï¼ãããªSQL(HQL?)ãå®è¡ãããã Hibernate: select top ? this_.id as id0_0_, this_.version as version0_0_, this_.body as body0_0_, this_.title as title0_0_, this_.uploaded_file_id as uploaded5_0_0_â¦
ãã¼ï¼ãã«ã®ã²ã¨ã¤è¦ãã§ãã¢ãããã¼ããããã¡ã¤ã«ã¯ãã£ã¹ã¯ã®ã©ã£ãã«ç½®ãã¨ããã£ã¦ã®ä¿¡ãã¦ãããã ãã©ï¼éç¨ã楽ãããªããGrailsã¨ã¯è¨ãï¼ã®ã¡ã®ã¡WARã§é å¸ã¨ãèããã¨ãã«ã¬ã³ããã£ã¬ã¯ããªã£ã¦ã©ãããï¼ãã£ã¦ã¨ãããèãè¾¼ããã¡ã«ãªããâ¦
ã¿ã¤ããããã¼ãGrowlã¿ãããªããã¼ãã£ã³ã°ã¦ã£ã³ãã¦ã«è¡¨ç¤ºãããã¼ã«ãNetBeans TVã¨ãã§ãã¾ã«è¦ãããã¢ã¬ã ã¹ã¯ãªã¼ã³ãã£ã¹ãã¨ããã¬ã¼ã³ããã®ã«å½¹ç«ã¡ãããã£ã¦ï¼ã©ã£ã¡ããããªæ©ä¼ãªããã©ã:-)
æ±äº¬ã§ã®ï¼å¹´éã¯é·ãã£ããï¼ä»å°ã®ï¼å¹´ã¯ãã£ã¡ã ãéã ã®ãå¹´ã®ãããï¼
id:ssogabeãããããããã£ãã¡ã¤ã«ã»ã¨ãã£ã¿ã«ã¤ãã¦è¨åãã¦ããã®ã§ï¼ã®ã£ãã£ã¦ã¿ãã â Hudsonã®æ¥æ¬èªåã¨ããããã£ã¨ãã£ã¿ - ssogabeã®æ¥è¨ Hudsonã®ã³ããã¿ã¯IntelliJã®ä½¿ç¨æ¨©ããããã§ï¼NetBeansã«ãã£ããããã®ãªãIntelliJã試ãã¦ã¿ã¾ãâ¦
ã¨ãã£ã¦ãï¼ã¾ã IntelliJã§hgã®ãã¹ã¦ã®æä½ãã§ããããã§ã¯ãªãï¼ãã¨ãã°ãã©ã³ãä½æã¨ãã¯ã§ããªãã£ã½ãï¼ãããã§ãï¼ã¡ãã£ã¨ãããªã¨æã£ãã®ããã®UI. ã¹ãã¼ã¿ã¹ãã¼ã«ç¾å¨ã®ãã©ã³ãåã表示ãããã®ãããããå°å³ã«ä¾¿å©ãªã®ã ã IntelliJããâ¦
ãGrails Persistence with GORM and GSQL (FirstPress)ããçºå£²å»¶æã«ãªã£ãã®ã§æããããã£ããå¾æã¯ãã¦ããªãã:-) çµæ§ãªããªã¥ã¼ã ã ãã©ãGrailså¾¹åºå ¥éããããããï¼èªããªãã¦å°ãã£ã¦ãã¨ã¯ããã¾ãªãããããï¼ããããæãä¸ãã¦ãã£ã¦é¢ç½â¦
Gitã¯ãã£ã¡ï¼è±èªï¼ â Zack Rusin: Git cheat sheet Hgã¯ãã£ã¡ï¼æ¥æ¬èªã«è¨³ãã¦ããã¦ã¾ããã¹ãã©ã·ã¤ï¼ â m0ronic coder in LOL way: tanslate(mercurial_ref, "ja_JP.UTF-8"); ããããåæ£ãã¼ã¸ã§ã³ç®¡çã«æãåºããã¨æã£ã¦ããã ãã©ï¼Git/Hg/Bzrã®â¦
GORMã®ãã¡ã¤ã³ã¯ã»ã£ã¨ãã¦ãversionå±æ§ãä»ãã¦ï¼save(flush:true)ã§æ¥½è¦³çããã¯ããã£ã¦ãããã â http://grails.org/doc/1.0.x/guide/5.%20Object%20Relational%20Mapping%20(GORM).html#5.3.5%20Pessimistic%20and%20Optimistic%20Locking å®éã«è©¦â¦
DynamicJasperã«ã¤ãã¦ã¯ï¼InfoQã®ãã®è¨äºãåç §ãã¦ããã âJavaããã³Grailsåãã®åçã¬ãã¼ãè¶ ç°¡åã«èª¬æãããã以ä¸ã®ã³ãã³ãå©ãã¦ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ããã grails install-plugin dynamic-jasperãããªæãã®ãã¡ã¤ã³ã¯ã©ã¹ä½ã£ã¦ï¼æ«å°¾ã«â¦
ã¨ãã£ã¦ãå®éã«.xlsãã¡ã¤ã«ãçæããã®ã§ã¯ãªãï¼HTMLãç¡çç¢çExcelã§éãããã¨ããå¤å ¸çããæ¹ãå ãã¿ã¯ãGroovy Recipes(asin:0978739299)ãããã type1ãGroovy Recipesããå¼ç¨ãããã®ãGrailsã¯UTF-8ã ãã©ï¼Excelã¯Shift_JISãæå¾ ãã¦ããâ¦
YourKitã®v8.0ãããv7.5ãã¢ããã°ã¬ã¼ããããã®ã®ï¼ã»ã¨ãã©ä½¿ãããã¾ãã ã£ãããï¼ä»åã¯è¦éãã ãªã ã¡ãã£ã¨æããæ°ããããï¼è¯ãã¨ãããã (追è¨) v7.5è³¼å ¥ããã®ãåå¹´åã ã£ããã§v8.0ã®ç¡åã¢ããã°ã¬ã¼ã対象ã ã£ããæãããã¦v8.0ã使ãâ¦
ã±ã¬ã®ååã¨ããããªãã¡ã ããï¼Api.doXml()ã®ã½ã¼ã¹èªãã ãããã§ï¼xpath=ã¨exclude=ã®ä½¿ãæ¹ãããã£ããã ãã¤ã³ãã¯ï¼ãããªããããã XPathå¼ã«ã¯ï¼"/hudson/..."ã¿ããã«ã«ã¼ãè¦ç´ ãæå®ããã exclude=ã¯è¤æ°æå®ã§ããã exclude=ãæå®ããå ´â¦
ã¨ããã®ãåå çªãè©°ãã¦ãã°ã¬ããããã¨æã£ãã®ã§ããï¼éä¸ã§åå°½ãã¾ããã ãã¼ã¨ã§ããï¼Hudson v1.282ï¼FreeStyleProjectã®è©±ã§ããwinstoneã§ãTomcatã§ãè¯ããã§ããï¼èªåã®PCä¸ã«Hudsonç«ã¡ä¸ãã¦ï¼ããããã¼ã¸ã®Remote APIãå©ãã¾ãããã¨â¦
ããæ°å¹´ã»ã©JVMã®ãã¥ã¼ãã³ã°ã¨ã¯ç¡ç¸ãªçæ´»ãéã£ã¦ããã®ã ããã©ï¼ã¡ãã£ã¨æ°ã«ãªããã®ä¸æã Default garbage collectorã®å¤æ´ ãµã¼ãã¯ã©ã¹ã®ãã·ã³ãä¸ã¤ãµã¼ãVMãå®è¡ãã¦ããå ´åã 1.5.0以é 1.4.2ã¾ã§ -XX:+UseParallelGCãããã©ã«ã -XX:+Usâ¦
æ¬æ¥ã®Hudsonã®ä½¿ãæ¹ã¨ã¯ç°ãªãã¾ãããå®è¡çµæã®ç¢ºèªã¨batãã¡ã¤ã«ã®ç®¡çãHudsonã§éä¸ç®¡çã§ããã®ã¯éç¨é¢ã§ã®å¤§ããªã¡ãªããã«ãªãã¾ããç°¡åã«è¨ãã¨ããããªããããã½ã³ãã£ã¦æãã§ãw ãã¼ï¼ãã®æ°æã¡ãããããã¾ããããããPostgreSQLã®ããâ¦
æè¿ã¯ã¦ãªè¦ããªãã»æ¸ããªãç°å¢ãå¢ãã¦ããã®ã§ï¼ã³ã¼ãçç½®ãå ´ã«gist使ã£ã¦ã¿ããããªã ãããªå ·åã«ã¯ã¦ãªã«ãè²¼ä»ããããããã ãã
æ¸ããã¨ããã£ããå è¶ããããããï¼ããï¼JetGroovyã®Grails pluginsã¯ä¾¿å©ã§ãã¨ãã ãããã®æãè¾¼ã¿ãªã®ããç¥ããªããã©ï¼IDEA8.1RC1以åã§"Apply Changes"ãã¿ã³ãæ¼ããããã«ãªãã«ã¯ï¼ã¡ãã£ã¨ãããªãã¸ãã¤ãå¿ è¦ã ã£ããããªï¼ ããè¦ã¤ããâ¦
JetGroovyã®ã¹ã´ãã¯ããã£ã¦ããã¤ããã ã£ããã©ï¼ãããªã«intentionãããã¨ã¯ç¥ããªãã ã£ãã"Convert Parameter To Map Entry"ã¨ã"For To Each"ã¨ãã«ã³ãã¼ããã âIntentions - Groovy - Confluence
ãã®åï¼id:mattena31ããã«å¤§éã®ããã«ãè²ã£ã¦ããã£ããã ãã©ï¼ãã®ä¸ã«ã¦ãã¨åãåã®ã´ã£ããããããããªãã§ããï¼ ä»ã®ããã«ã®ã©ã¤ã³ãããã«ãã´ã£ããã¯ãããã ãã©ï¼ãã§ã«æ°åã«ãªã£ã¦ãã ãã«ï¼è¯ãæãåºãç©è¦ã¤ããããã³ãã«ï¼ã©ãããâ¦
ã¨ãã話ãHudsonããããã«ãã®çµæã失æã¨è¦ãªãçç±ã®ä¸ã¤ã«ãã¸ã§ãã§åãããããã°ã©ã ã®çµäºã³ã¼ãã0以å¤ãã£ã¦ã®ãããã¾ãã¦ï¼ãããæ¾ãã¨åçç¡ç¨ã§ãã«ã失æï¼èµ¤ã©ã³ãï¼ã¨ãªãã¾ãã ï¼ãçç±ã®ä¸ã¤ãã¨ãè¨ã£ã¦ã¿ããã®ã®ï¼ä»ã®çç±ã¯ç¥ãâ¦
Grailsã¯æ¥½ãããã ãã©ï¼GORMã«æ¯ã¹ãã¨ãã¾ãã«ãGSPãå°å³ã§Dynamic Scaffoldããå ã«é²ãã®ããã£ããã ã£ããã¾ãï¼ãã¡ãã¡ã¿ã°æã¡ããããªãï¼ã§ããã£ããããUIãã¤ã¤ã ã¨ãã身åæ以å¤ã®ããã¢ãã§ããªã欲æ±ã«æ¯ãåããã¦ãã ããªãã ãã©ã:-â¦
JavaEE6ã¨ãé¢å¿èããªã£ããªãã¨æãã¤ã¤ãï¼"Table 2: Java EE 6 Web Profile"ã¯ä¾¡å¤ãããã®ã§ã¡ã¢ã JMSãWeb Profileã«å ¥ãã¦ããããï¼Full Profileã¯ç¡ãã¦ãè¯ãæ°ãããã:-)
Groovyã«Scalaãæ··ããå¿ è¦æ§ãç解ã§ããã»ã©Scalaã®ãã¨ã¯ç¥ããªããã§ãï¼Groovyã®ä¸é¨ãé«éåããããã«Javaã§æ¸ãããããªãScalaã使ãããã¨ããæãã¯ãªãã¨ãªããããï¼ããã·ã³ãã«ã«è¨è¿°ã§ããã¨ããç¹ã§ã¯ï¼Javaã¯ãã£ãããï¼ã ãã¶ããã£ã¨â¦
æ¬å±ã§ãã±ã¼ã³ããã®ãThe Elements of Java Style(asin:0521777682)ãã®ç¿»è¨³æ¬ã§ããã奥ããã ã¨ããªãã¨ãè¨ãã¤ã¤ãï¼æåã«æã£ãã®ã¯ããªãã§ä»ããï¼ãã:-P åæ¸ã¯2000å¹´ï¼èªåãããè²·ã£ãã®ã¯2003å¹´ãã¤ãã§ã«ãUML2ã¹ã¿ã¤ã«ã¬ã¤ã(asin:4434074â¦
Splash Screen Pluginã®ä½¿ãæ¹ã
http://d.hatena.ne.jp/atosimitu/20081031/p1ã§ï¼ãµã¼ãã¹ã¸ãã¼ã¿ã½ã¼ã¹ãæ³¨å ¥ãã¦ããä¾ãã¿ã¤ããã¨ãã¯ãããããè£æããããã ããç¨åº¦ã«æã£ã¦ããã®ã ããã©ï¼ããããã¦grails.org調ã¹ã¦ããï¼ã¡ããã¨æ¸ãã¦ãã£ãã A javax.sql.DataSource instâ¦
SBMCommentsViewerãã¤ã³ãã©ãããã§ãåå¿ãã¦ããã®ã¯ï¼ãããããã¨ã ã£ãã®ãã ããããããã±(?)ãªãã¨ã§ã¯ã¦ãç¦æ¢ã¨ããªã£ããï¼ãªããããããªããã®ããããªãã ç¦æ¢ããçç±ã¯åãããªãã¯ãªããã ãã©ï¼ãã£ã¡å´ã®ãµã¼ãã¹ããªãã§ãããã§ãâ¦