2009-07-01ãã1ã¶æéã®è¨äºä¸è¦§
ä»æ¥ãAnyEditToolsãã®ä»ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã®ã§ããã ã»ã»ã»ã Andrei Loskutovãããã«ãã³ãããã
CentOSããã¸ã§ã¯ããã¨ã©ã¤ãã¨ã«ãªã£ã¦ãã模æ§ã "Open Letter to Lance Davis"ãæ訳ãã㨠Lance Davisæ°(以ä¸Lance)ã¯CentOSããã¸ã§ã¯ãã®ç®¡çè ã§ããã«ãé¢ãããã管çè ã¨ãã¦ã®ç¾©åãã»ã¨ãã©æããã¦ããªãã Lanceã¯PayPalãGoogle Adsenceãªâ¦
ä»ã¾ã§ãããç¥ããªãã£ãã®ãæ¥ãããã⦠orzxdocdiff SUGEEEEEEE!!! è¿é ã¯wordãexcelçã®ææç©ãSubversionãªã©ã§ç®¡çãããã¨ãå¤ãã¨æãã¾ããã xdocdiffã使ããã¨ã§ããããã®å·®åãé常ã«å¤ããããå½¢ã§è¡¨ç¤ºãããã¨ãã§ãã¾ãã ãããxdocdiffâ¦
r42utilsããã¸ã§ã¯ãããsourceforge.jpã¸å¼è¶ããã¾ããã å¼è¶ãã®ç´æ¥ã®åå ã¯ãä»æ¥ã®æ©æã«å±ãããã®ã¡ã¼ã«ã§ãã From: "SourceForge.net Team" <[email protected]> Subject: Wikispaces being removed from SourceForge.net 2009-07-30 On Thursday July 30, 2009 at </[email protected]>â¦
MySQLã§ã¯"DELETE LIMIT"ã¯OKã§ããã"DELETE LIMIT OFFSET"ã¯NGã§ãããªãOFFSETãç¦æ¢ãã¦ããã®ã ãããä½ãçç±ãããã®ããªã ã¾ãããã¯ãã¡ã§ã DELETE FROM Hoge WHERE ... LIMIT ? OFFSET ? ãããªé¢¨ã«ããã°OKãªãã ãã©ãã DELETE FROM Hoge WHEâ¦
ããã¾ã§ãsynergyã¯ç»é¢ã®å·¦ãå³ã®ã©ã¡ããçå´ãããåãæ¿ãã®è¨å®ãã§ããªãã¨æã£ã¦ããã®ã§ããã 両å´ããåãæ¿ãã§ããã¨ãããã¨ããã£ãå¤æãã¾ããã次ã®ããã«ãã¾ããsynergy.conf section: screens tp600X: tpX300: end section: links tp60â¦
ã ãã¶å¤ããã¿ã§æ縮ã§ããããªãã§ãã¹ãã¼ããçºçãã¡ããã®ãâ¦ä¼è¨ã²ã¼ã ã®ææã¾ãããã®æ¥çã§ã¯ãããã¡ã§ããã ä¸æ¹ã§ãããããèãæ¹ãããããã§ãã æè¡è ã¨ããã®ã¯ããã£ããããã¨ã¤ãã èªåã«ã¨ã£ã¦ããã¯(èªåã®ããªã·ã¼ãæ²ããã«)éâ¦
ããã¼ã1æéã»ã©ãããã¾ããã JSPå ã§ãActionã¯ã©ã¹ã®getterã§ããããã£å¤ãåå¾ã表示ããã¨ããåç´ãªã³ã¼ãã§ã å¤ããªãã常ã«nullã«ãªãã¨ããç¾è±¡ã«æ©ãã§ããã®ã§ãããåå ã¯ãgetterå ã§RuntimeExceptionãçºçãã¦ããããã§ããã OGNLã®ç½ â¦
åã¯ThinkPad X300ãéçºç¨ã¡ã¤ã³ãã·ã³ã«ãã¦ãã¾ããOSã¯Vistaã®32bitã ã¡ã¢ãªã¯ç®ä¸æ¯(4G)ç©ãã§ã¾ãã ãåãã®æ¹ãå¤ãã¨æãã¾ãããWindowsã®32bitçãç´æ¥ç®¡çã§ããã¡ã¢ãªã¯æ大ã§3Gã¾ã§ã§ãããªã®ã§ãæ®ãã®1Gã«ã¤ãã¦ã¯Gavotte RamDiskã使ã£ã¦Râ¦
次ã®ããã«ãã¦ã@Lobãªãã£ã¼ã«ããLazy loadingã¨ãã¦æ示ãã¦ããã¡ã§ããã @Entity public class ImageData { @Id private long id; @Column @Lob @Basic(fetch = FetchType.LAZY) private byte[] data; @Column private String name; ... } ãã®ããã«â¦
é¿ã£ã¦ãããªã«ããããã£ãã£ãï¼ï¼ï¼ ãããã¨ãã¦ãã¦ããããããããã¨æã£ããããã¯ã§é£²ãã®ã¯ãã£ãããªããæ¼¢ãªãã¹ãã¬ã¼ãã§é£²ãã¹ãã
ãã ãã¾å®¶åã¿ä¸ã§ãããã¨ããããã¬ãã¥ã¼ãã (ç»åã¯å ¬å¼ãµã¤ãã®ãã®ããåããã¦ãã¾ã) ã°ãªãç²å·ãå½ç£ã®ç½ã¯ã¤ã³ã§ãã ã©ãã«ã«ã¯ããè¾ç®ã®ãã¤ã¹ãã¨ããã¾ããããããªã«è¾ããªãã§ããã§ãçãããªãã åºèº«ãªã©ãæ·¡ãå³ããã®é£ã¹ç©ã«ããâ¦
ä»æ¥ã®æ¥è¨ããã£ã¦ãã¯ã¦ãªå¸æ°ã¨ãªãã¾ãããæåã¯3æ¥ã«ä¸åº¦ãããæ¸ãã°ããããã¨æã£ã¦ãããã©ã ãµããéãã¦ã¿ãã¨ãã»ã¨ãã©æ¯æ¥æ¸ãã¦ã¾ããã¾ãããããããæ°å¼µããã«ç´°ã ã¨ç¶ãã¦ããã¤ããã§ããã©ãããããããé¡ããã¾ãã
ä¾ãã°ã次ã®ãããªãã¼ã¿æ§é ãããã¨ãã¾ãã Javaã®ã½ã¼ã¹ã¯æ¬¡ã®ãããªæãã @Entity public class Shop { //主ãã¼ @Id private long id; //åæ±åå @ManyToMany(fetch = FetchType.LAZY) @JoinTable(name = "HandleProduct", joinColumns = @JoinColuâ¦
ä»æ¥ãããããããã¼ãããé£ã¹ã«è¡ããã¨ããã®ã§ããã ãªãã¨ãªãæ°ãå¤ãã£ã¦ã©ã¼ã¡ã³å± ç§ã«è¡ã£ã¦ã¿ã¾ããã ããã§ããã¼ã3.5ï¼5ç¹æºç¹ï¼ã£ã¦ã¨ãããªã極細ã®éººã¯çµæ§èªåã®å¥½ã¿ã«åãã¾ããã 4ç¹ãã¹ã¼ãã¯èæ²¹ãæµ®ããã§ãããå²ã¨æ²¹ãæ¿ãæãâ¦
ãµãã³ãããªã¸ãããããæ´æ°ããã¦ãããç¸å¤ãããé¢ç½ããªãã ãããã¡ããåã¯åªã®ã»ããã¿ã¤ãã§ãã
ãåºèãã¨ãååãã®éã«N:Nã®é¢ä¿ããã£ãã¨ãã¾ãã ã¹ãã¼ãã¯æ¬¡ã®ãããªæãã -- åºè create table Shop ( id bigint primary key, ... ); -- åå create table Product ( id bigint primary key, ... ); -- åºèãã©ã®ååãæ±ããã®é¢é£ã表ã (Asâ¦
ãã¡ãã®æ¥è¨ãè¦ã¦æã£ããã¨ã http://d.hatena.ne.jp/gothedistance/20090723/1248331426 åãåããã人æãã³ãã®å売ã¯å¾ã ã«æãç«ããªããªã£ã¦ããã¨æãã¾ãã ãã®æ¥çããã¾ãã«ãå¹çãæªãããæ £ç¿ãã¾ããéãããã ã¨æ¥ã æãã¦ãã¾ãã å¼ç¤¾â¦
æä½R42FWã§ã¯EclipseLinkã¨Spring2.5ãçµã¿åããã¦ä½¿ç¨ãã¦ãã¾ããã ãã®çµã¿åããã§ãJPAã®Lazy Loadingãåä½ããããã¨ãã§ããã®ã§ããã®æé ãç´¹ä»ãã¾ãã EclipseLinkååã§ä½¿ç¨ããå ´åã®æé ã§ã¯åããªã ã¾ãæåã«ãã¡ãã«æ¸ãã¦ããæé ã§â¦
Eclipse3.5ã¸ã®ãã¼ã¸ã§ã³ã¢ããã«ä¼´ããCheckStyleã¯ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ãä¸ããã¾ãã(CheckStyle4 â CheckStyle5)ã ããã«ããã以åã®checkstyleè¨å®ãã¡ã¤ã«ã¯ä¿®æ£ããªãã¨ä½¿ããªããªãã¾ããã åãä¿®æ£ããç¹ã¯æ¬¡ã®éãã§ãã charsetè¦ç´ ãTreeWalkâ¦
å é±ãEclipse3.5ã¸ç§»è¡ãã¾ããã移è¡ã®ãã¼ã¹ããã±ã¼ã¸ã¨ãã¦ãmergedocããã¸ã§ã¯ããé å¸ãã¦ãã"Full All in One Eclipse"ã®"Java"ãå©ç¨ããã¦ãããã¾ããã ãã¡ã¼ã¹ãã¤ã³ãã¬ãã·ã§ã³ æ©è½é¢ã§è¨ãã¨ã3.4ã¨ããã»ã©å¤ãããªãããªâ¦ã¨ãã£ãã¨ãâ¦
JPQLã«ããããµãã¯ã¨ãªã¼ã®å®ç¾©ã¯æ¬¡ã®éãã§ããè¦ã¦ã®éããORDER BYã¯ä½¿ãã¾ããã subquery ::= simple_select_clause subquery_from_clause [where_clause] [groupby_clause] [having_clause] ã§ããLIMITã¨çµã¿åããã¦ããã10ã¨ããæ½åºãããå ´åã¯â¦
INå¥ ãã©ã¡ã¼ã¿ã¯ãªãã©ã«ã¾ãã¯ãµãã¯ã¨ãªã¼ãæå®å¯è½ã OK SELECT f FROM Foo AS f WHERE f.id IN (1, 2, 3) SELECT f FROM Foo AS f WHERE f.id IN (SELECT b.id FROM Bar AS b WHERE ...) NG SELECT f FROM Foo AS f, Bar AS b WHERE f.id IN b.foos Mâ¦
ä¾ãã°æ¬¡ã®ãããª1:Nã®ã¢ãã«ããã£ãã¨ãã¾ãã ã¨ã³ãã£ãã£ã¯ã©ã¹ã¯æ¬¡ã®ãããªæãã§ãããã @Entity public class Shop { @Id private long id; private String shopName; @OneToMany private Set<Employee> employees; ... } @Entity public class Employee { @I</employee>â¦
ã¹ã便å©ãããâ¦http://www.dpriver.com/pp/sqlformat.htm
å æ¥ãæ¸è°·ã®æ¸ å±±ã«è¡ãã¾ããã5åç®ãããã®è¨ªåã§ãããã ç¥å±±ã¸ã£ã³ã«ï¼ãã°ä½æï¼ æ¸è°·åºç¥å±±çº10-8ãã®ãåºãå«ãããã°ãè¦ã | (åçæä¾ï¼ããã£ã¦ãããã)ããããªã³ã§è¦ã | ãã®ãåºã®ç¹å¾´ã¯æ¬¡ã®éãã å°ã åããã¥ããå ´æã«ããä¸ã«ãæ¸è°·â¦
ä»æ¥ãã¨ããæ ç»ãè¦ã«è¡ãåã«ãã¶ãã¶ãã¨æéã¤ã¶ãããã¦ããã®ã§ãããæ°ãä»ãããç¼é¡å±ã¸INããã¡ããã¡ã¬ããè²·ãã¤ãããªãã¦å ¨ããªãã£ãã®ã§ãããæ®å¿µãªãã¨ã«åºä¼ã£ã¦ãã¾ã£ãã®ã§ãããã®ã¡ã¬ãã¨ã (ç»åã¯å ¬å¼ãµã¤ãã®ãã®ããåããã¦ãâ¦
ä»æ¥ããã²ã¿ã«ã¨ããæ ç»ãè¦ã¦ãã¾ããã21æã¹ã¿ã¼ãï¼æ ç»ãããããå ¬éçµäºãã ã£ãã®ã«çµæ§ã客ããããã¾ããããã ããã7å²ã»ã©ã¯åº§å¸ãåã¾ã£ã¦ã¾ããã ã§ããã ããã¿ãã¬ããªãããã«ææ³ãæ¸ãã¾ããããããã観ããã¨ãã人ã¯ä»¥ä¸ãè¦ãªãâ¦
ã¯ã¬ã«ãç¡ãããæ¨¡æ§ ã©ããããã¯ã¬ã«ãã©ããã§è½ã¨ãã¦ãã¾ã£ããããã ãã£ããã¹ã¼ãã¼ã§è²·ãç©ãããã¨ãã«çºè¦ãã¾ããã4æéåã«ã¯ç¢ºå®ã«ãã£ã(â使ã£ããã)ã®ã« orzåã¯æ» å¤ã«ç©ãç¡ããããè½ã¨ãããããªãæ¹ãªã®ã§ãããã¾ããã¯ã¬ã«ãç¡ãâ¦
Javaçã«ãããXMLãã¼ãµã¼ã®æ¨æºå®è£ ã¨ããã°Xercesã æè¿ã¯XMLãæ±ããªãWebã¢ããªã±ã¼ã·ã§ã³ã¯æ» å¤ã«ãªã(è¨å®ãã¡ã¤ã«ã¨ãã¯å¤§æµXML)ã¨æãã®ã§ãé常ã«é«ã確çã§xercesImpl.jarã(éæ¥çã«)使ã£ã¦ããã¨æãã¾ãã ã¨ããããã®XercesãWebã¢ããªã±ã¼â¦