JPAï¼Java Persistence APIï¼ã¯ããã¼ã¿ãã¼ã¹ããåå¾ãããã¼ã¿ãã¡ã¢ãªä¸ã«ä¿æããä»æ§ã«ãªã£ã¦ããã ãã®ãããä¸ç¨æã«å¤§éã®ãã¼ã¿ãåå¾ããã¨ãã¡ã¢ãªå®¹éãå§è¿«ãã¦ãã¾ããææªã®å ´åã¯OutOfMemoryErrorãèµ·ããå¯è½æ§ãããã æ¬ç¨¿ã§ã¯ãJPAã®æ¨æºæ©è½ããã³ãã¤ãã£ãæ©è½ã®ããããã«ã¤ãã¦ãã¡ã¢ãªä½¿ç¨éãæããªãã大éãã¼ã¿ãåå¾ããæ¹æ³ã¨ããã¤ãã£ãæ©è½ããã¾ãåä½ããªãå ´åã®åé¿çãç´¹ä»ããã JPAã¯èªã¿è¾¼ãã ãã¼ã¿ãä¸æ¬¡ãã£ãã·ã¥ã¨ãã¦ä¿æãã JPAã¯ãèªã¿è¾¼ãã EntityãPersistenceContextï¼æ°¸ç¶åã³ã³ããã¹ãï¼ã¨å¼ã¶é åã§ç®¡çããã ããã«æ ¼ç´ãããç¶æ ãä¸æ¬¡ãã£ãã·ã¥ã¨å¼ã³ãä¸æ¬¡ãã£ãã·ã¥ãããEntityãManagedãªç¶æ ï¼JPAã«ç®¡çãããç¶æ ï¼ã¨å¼ã¶ï¼ãªããäºæ¬¡ãã£ãã·ã¥ããããå²æããï¼ã Persist
{{#tags}}- {{label}}
{{/tags}}