From: <leg...@at...> - 2003-08-27 04:58:52
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 26 Aug 2003 11:58 PM There are too many extra properties here. We don't need them all! --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-51 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-51 Summary: Full feature support of DBCP and validation query bugfix Type: Patch Status: Closed Priority: Major Resolution: REJECTED Project: Hibernate2 Assignee: Gavin King Reporter: Max Rydahl Andersen Created: Sat, 3 May 2003 10:33 AM Updated: Tue, 26 Aug 2003 11:58 PM Description: Full feature support of DBCP and validation query bugfix The following patch extends Hibernate 1.2.4 to support all features of the DBCP connection pool. Added configuration parameters: # connection pool hibernate.dbcp.testOnBorrow true hibernate.dbcp.testOnReturn false hibernate.dbcp.timeBetweenEvictionRunsMillis 900000 hibernate.dbcp.numTestsPerEvictionRun 10 hibernate.dbcp.minEvictableIdleTimeMillis 1800000 hibernate.dbcp.testWhileIdle true # prepared statement cache hibernate.dbcp.ps.testOnBorrow true hibernate.dbcp.ps.testOnReturn false hibernate.dbcp.ps.timeBetweenEvictionRunsMillis 900000 hibernate.dbcp.ps.numTestsPerEvictionRun 10 hibernate.dbcp.ps.minEvictableIdleTimeMillis 1800000 hibernate.dbcp.ps.testWhileIdle true Bug fixed: Although it was possible to configure a validation query for the pool, this query was never executed, because the DBCP properties "testOnBorrow" or "testOnReturn" were never enabled by Hibernate http://sourceforge.net/tracker/index.php?func=detail&aid=729870&group_id=40712&atid=428710 --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |