Binary SQLã¨ããèãæ¹
ãHandlerSocketã¨ããã®ã¯ããSQLã®è§£éã£ã¦çµæ§æéããããããåç´ãªCRUDæä½ã¯SQLããã¤ãã¹ãããéããªããããã¨ãããã®ã§ããã¨çè§£ãã¦ãããHandlerSocketã¯è¤éãªæä½ã¯è¡ããã¨ãã§ããªããã¨ããç¹ãã¡ãã£ã¨æ®å¿µã§ããã
ããªãSQLã®è§£éã«æéãããããã¨ããã¨SQLãããã¹ãã§æ¸ããã¦ããããã§ãããã¹ãã ã¨ãã¼ã¹ã«æéãããããããã¤ããªã使ããã¨ããèãæ¹ã¯Binary XMLãªã©ã§ã¯æ¢ã«å®ç¾ããã¦ããã
ãè§£éå¾ã®å½ä»¤æååã使ãåãããã®æ¹æ³ã¨ãã¦ã¯ãæ¢ã«prepared statementã¨ãããã®ããããprepared statementã¯å®è¡ãã¹ãSQLæãããããããµã¼ãå´ã«ç»é²ãã¦ãããSQLãå®è¡ãããæã«ã¯å¼ã³åºãããSQLæã¨place holderã®å¼æ°ã®ã¿ãæå®ãããã®ã§ããããã¤ããªã§ããã°ãã¼ã¹ã¯ç°¡åã§ãããããã®å¾ã®å®è¡è¨ç»ã¾ã§ãã£ãã·ã¥ãã¦ãããã¨ãåççã«ã¯å¯è½ã§ãããããæ§è½çã«ã¯é常ã«å¹æãé«ãã¯ãã§ããã
ãprepared statementã§ã¯çã¾ãå¾ãªããSQLããã¤ããªå½¢å¼ã«ããäºã®ã¡ãªããã«ã¤ãã¦30ç§ãããèãã¦ã¿ãããç¹ã«æãã¤ããªãã£ããå¯ä¸ãéå®å½¢ã®SQLãå®è¡ããªãã¨ãããªãå ´åã«ã¯Binary SQLã®æ¹ãå¹çã¯è¯ããªãã§ããããããããããããªã·ãã¥ã¨ã¼ã·ã§ã³ãæãã¤ããªãã
ãç¹ã«å»ºè¨çãªä½ãã¯ãªãããã®ã¨ã³ããªã¯çµããã