ããã¾ã§ã®ä¾ã§ã¯ããµã³ãã«ãæ¤ç´¢ã«çµã£ã¦ããã®ã§ããã©ã³ã¶ã¯ã·ã§ã³ãç¡è¦ã§ãã¾ããããCreate, Update, Deleteçã®æä½ããããªãå ´åããã©ã³ã¶ã¯ã·ã§ã³ã®å¶å¾¡ã¯ç¡è¦ã§ãã¾ããã JavaEEã§ãã©ã³ã¶ã¯ã·ã§ã³ã®å¶å¾¡ã«3種é¡ãããPersistence Unite( persistence.xml )ã§ããããããé¸æããå¿ è¦ãããã¾ãã RESOURCE_LOCAL ããã¯ãJavaEEã®ã³ã³ããç¡ãã§ã使ããåºæ¬çãªè¨å®ã§ãããã®å ´åã®ãã©ã³ã¶ã¯ã·ã§ã³ã®å¶å¾¡ã¯ãEntityManager#getTransactionã«ãããEntityTransactionãåå¾ããããã°ã©ã ä¸ã§ãEntitityTransaction#begin, commit, rollback ãè¡ãã¾ãã <persistence-unit name="bookdbPU-local" tran
{{#tags}}- {{label}}
{{/tags}}