java
ä¼ç¤¾ã®ã¨ããããã¸ã§ã¯ãã§ã³ã¼ãã£ã³ã°ã®å¯èªæ§ã«é¢ããåå¼·ä¼ãå®æ½ãã¦ããããã ãã®ããã¸ã§ã¯ãã¯ãªãªã¼ã¹ã¯çµãã£ã¦ä¿å®ã«ç§»è¡ãã¦ãã ãã©ä»æ´ããåå¼·ãã¦ãã®ã£ã¦æããå端ãªããæ°äººåããï¼ ãã®ããã¸ã§ã¯ãã¯ãã¡ããçä¸ãã¾ãã£ã¦ããä»â¦
ã§ãããã©ããããããããã£ã¦ã¿ãã ãã£ããã¯ä¼ç¤¾ã®äººãJava8ã®ã©ã ãå¼ã¯é£ããã¨è¨ã£ã¦ããããã 確ãã«é¢æ°åè¨èªããããªãJavaããå¦ã¶ã®ã¯é£ããããããªãããªã ãªãé£ããæããã®ãã¨ããã¨ãJavaã¯ãªãã¸ã§ã¯ãæåè¨èªãåæã«è¨è¨ãã¦ãâ¦
MyBatisã§Enumã使ãã«ã¯ã©ãããã°ããã®ãã ãã¡ããããã¥ã¢ã«ã«æ¸ãã¦ããããã¾ã¨ããã¨ããã ã resultMapã§Enumã使ãã¨ãã¯typeHandlerãæ¸ã parameterã§Enumã使ãã¨ãã¯mybatis-config.xmlã«handlerãå®ç¾©ãã å ·ä½ä¾ãããã¥ã¢ã«ããå¼ç¨ãã㨠<resultMap type="org.apache.ibatis.submitted.rounding.User" id="usermap2"></resultmap>â¦
JPAã¨ã¯ JPAï¼Java Persistence APIï¼ã¨ã¯JavaEEã®ããã«å®ç¾©ãããæ°¸ç¶åï¼persistenceï¼ã«é¢ããAPIä»æ§ã§ããJPAã¯APIä»æ§ãªã®ã§JPAåä½ã§ã¯åãã¾ãããJPAãå®è£ ããHibernateãEclipseLinkãªã©ã®O/R Mapperãå¿ è¦ã«ãªãã¾ãã N+1åé¡ã¨ã¯ N+1åé¡ã¨ã¯â¦
ä¼ç¤¾ã§æ¸ããã¡ã¢ãè²¼ãã å²ã¨ã¾ããã«æ¸ãããã©ãããããããã¨ã¯ãããããé·ç¶ãããªãããã ä¸ã®æç« è¦ã¦æã£ããã¨ã¯Javaå´ã§ãã¼ã¿æä½ãããªã£ã¦æ¸ãããã©ãã¹ãã¢ãããã·ã¼ã¸ã£ã使ãã£ã¦ãã¨ã§ã¯ãªãã®ã§ãMyBatisã§ã¹ãã¢ãããã·ã¼ã¸ã£ã¯ãâ¦