ãã©ã³ã¶ã¯ã·ã§ã³ã¨ã¯ãä¸é£ã®å¦çãä¸ã¤ã®ã¾ã¨ã¾ã£ãå¦çã¨ãã¦æ±ãããã®è«ççãªåä½ã§ããåä¸ãã©ã³ã¶ã¯ã·ã§ã³ã«å±ããSQLå¦çãè¤æ°ããå ´å ãã¹ã¦ãæåãã¦åãã¦å¦ççµæã確å®ãã(ã³ããã) éä¸ã§å¤±æãããããã©ã³ã¶ã¯ã·ã§ã³å®è¡åã®ç¶æ ã«æ»ã(ãã¼ã«ããã¯) ãã¼ã¿ãã¼ã¹ã®å¦ççµæã確å®ããããã¨ãã³ããã(commit)ãå®è¡åã®ç¶æ ã«æ»ããã¨ããã¼ã«ããã¯ï¼rollbackï¼ã¨ããã¾ãã ãã©ã³ã¶ã¯ã·ã§ã³ã®å©ç¨ Javaã§ã¯ãJBDC(Java DataBase Connectivity)ã¨ãããã¼ã¿ãã¼ã¹æä½å°ç¨ã®APIãæä¾ããã¦ãã¾ãã JBDCãç¨ãã¦ãã©ã³ã¶ã¯ã·ã§ã³å¶å¾¡ãæ示ããã«ã¯ãConnectionãªãã¸ã§ã¯ãã使ãã¾ãã 1. setAutoCommit()-æ¥ç¶ã確ç«ããç´å¾ JBDCã®ããã©ã«ãã§ã¯ãSQLãä¸ã¤éä¿¡ããããã³ã«èªåçã«ã³ãããããããªã¼ãã³
{{#tags}}- {{label}}
{{/tags}}