2010-05-01ãã1ã¶æéã®è¨äºä¸è¦§
Derbyã«ã¯ãçµã¿è¾¼ã¿ã¢ã¼ãã¨ã¯ã©ã¤ã¢ã³ãã»ãµã¼ãã¼ã¢ã¼ããããããã§ãã ã¯ã©ã¤ã¢ã³ãã»ãµã¼ãã¼ã¢ã¼ãã¯ãããããµã¤ã¼ã®DBã¢ã¼ãã çµã¿è¾¼ã¿ã¢ã¼ãã§ã¯ãã¯ã©ã¤ã¢ã³ã(æ¥ç¶ãã¦ããã»ãã)ããã°ã©ã ã¨åãJVMä¸ã§åä½ããã¨ãããªã®ã§ãã¯ã©ã¤ã¢ã³ãâ¦
ã¨ããããç°å¢ã¯ JDK 1.6 update 20 on Windows XP SP3 ã¨ããæãã ããã©ã«ãã®ã¤ã³ã¹ãã¼ã«å ã¯C:\Program Files\Sun\JavaDB ç°å¢å¤æ° DERBY_HOMEã¨ããç°å¢å¤æ°ãå®ç¾©ãå¤ã¯ã¤ã³ã¹ãã¼ã«å ãªã®ã§æ¢è¿°âã ãã¨ã¯ %DERBY_HOME%\bin ãPATHã«å ããæããâ¦
æ¥æ¬èªã® getting started : http://db.apache.org/derby/docs/dev/ja_JP/getstart/
ä¹ ãã¶ããªè¨äºã ãã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã®ããã°ã©ã ãæããã«ããã£ã¦ãMySQL ã¨ã PostgreSQL ã¨ããæºåããã®ãããã©ãããã¨ããã®ããããã©ãèªå㧠create table ã¨ããããã¦ã¿ãã®ã«é½åãããããªãããªãã¦æã£ãã®ã§èµ°ãæ¸ãç¨åº¦ã«ã¾ã¨ããã¨â¦
æ¨æ¥ã®ã¨ã³ããªãæ¸ãã¦ãããããã調ã¹ãªããæã£ãã®ã ããããã¾ã§ãã ããå¿ è¦ããªãã®ã§ãã¨ãããã Google ã¢ã«ã¦ã³ããæã£ã¦ãã人ã対象ã«ãã¦ãããã«ãåã·ã¹ãã ã使ããã¢ã«ã¦ã³ãã管çããããã«ããã°ãããããï¼ã¨ããçµè«ã«éãã¾ããâ¦
GAE/J ã使ããµã³ãã«ã®ã»ã¨ãã©ã¯ Google ã¢ã«ã¦ã³ãã®èªè¨¼ã§ãããéããã¡ã³ãã¼ã§ä½¿ãå ´åã£ã¦ããããããã«ã¯ãããªããã¨æãã®ã§ãç¬èªèªè¨¼ããã£ã¦ã¿ããè¨ç»ãç«ã¦ã¦ã¿ããã¾ã ç´°ãããã¨ã¯ããã£ã¦ããªãã®ã§ãã¨ãããã次ã®ãããªæãã§ã ã»ãâ¦
æ¾ç½®ä¸ã®Javaå ¥éã§ãããmainã¡ã½ããã§å¼æ°ãã§ãã¯ãè¡ãã«ããããArrayIndexOutOfBoundsExceptionãçºçãããã¨ã©ã¼ã«ããããã¡ãã㨠length ã§ãã§ãã¯ããããä¾ãã°ãå¼æ°ï¼ã¤å¿ é ã§ãï¼ã¤ç®ãä»»æã§ããã©ã«ã1ã®ã¨ãã public static void mainâ¦
大å¦ã®ããã¯CLIã§è¨å®ããã®ãæ®éã ã£ãã®ã«ãªãããªãã¦æãã¤ã¤ããã¼ããã«ãªã£ã¦ãã¾ãã¾ããã ã¨ããããã§ããã¼ãã®è¨å®ã«é¢ãã¦ãã¿ã¼ããã«ããè¡ãã«ã¯ã»ã»ã» # system-config-securitylevel ãã¢ããåå¿é²ã