Hibernateã§ãä¸çªããå©ç¨ããã¦ããJDBCã³ãã¯ã·ã§ã³ãã¼ãªã³ã°ã¯ãc3p0ãã ã¨æãã¾ãããã¯ã©ã¤ã¢ã³ããµã¼ãåã®ã¢ããªã±ã¼ã·ã§ã³ã ä½ã£ã¦ããã¨ãHibernate.cfg.xmlã¸ã®è¨å®ãã¹ããããã¯ã¼ã¯ã®æç·ãã¯ãã¾ããµã¼ãã¼ãã¦ã³ãªã©ã«ããDBã«æ¥ç¶ã§ããªãã¨ããã±ã¼ã¹ ã¸ã®å¯¾å¿ãå¿ è¦ã«ãªã£ã¦ãã¾ãã ããããä¸è¬çãªãµã³ãã«ãªã©ãè¦ã¦ãDBãµã¼ãã¸ã®æ¥ç¶ãã§ããªãã±ã¼ã¹ã«ã©ã®ããã«å¯¾å¿ãã¹ããã¨ãããã¨ã¯ãã¾ãè¨è¼ããã¦ãã¾ãããä¾ãã°Hibernateã®ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ãªã©ã«ãc3p0ãããã©ã«ãã®ã³ãã¯ã·ã§ã³ãã¼ãªã³ã°ã ãããããªé¢¨ã«è¨å®ãã¦ä½¿ã£ã¦ãï¼ã¯ãã¨ï¼ãã¨ããè¨è¿°ããã£ã¦ä¸è¨ã®ãããªãµã³ãã«ã»ããã£ã³ã°ãè¨è¼ããã¦ãã¾ãã hibernate.c3p0.min_size=5 hibernate.c3p0.max_size=20 hibernate.c
{{#tags}}- {{label}}
{{/tags}}