From: <leg...@at...> - 2003-10-29 02:04:38
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 28 Oct 2003 8:01 PM Thanks, i applied this patch. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-323 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-323 Summary: Proxool properties specified in hibernate.properties Type: Patch Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: core Fix Fors: 2.1 beta 5 Versions: 2.1 Assignee: Gavin King Reporter: Craig Raw Created: Thu, 11 Sep 2003 5:09 AM Updated: Tue, 28 Oct 2003 8:01 PM Description: As discussed in the Hibernate foruum: There is a problem in configuring Proxool from properties specified in hibernate.properties. These are the properties prefixed by hibernate.proxool.*. In determining which ConnectionProvider to use, ConnectionProviderFactory looks in order for a properties set for hibernate.connection.datasource, hibernate.c3p0.max_size, hibernate.dbcp.maxActive, hibernate.connection.url, and then the Proxool properties. This means that if the hibernate.connection.url property is specified, one cannot obtain a Proxool connection provider. However, when one sets hibernate.proxool.existing_pool=false and uses the hibernate.proxool.* properties, the hibernate.connection.url is used in ProxoolConnectionProvider to create the pool. This patch changes the order in ConnectionProviderFactory to look for the Proxool properties before the hibernate.connection.url property. (BTW, using hibernate.proxool.* properties is useful when configuring pools dynamically, as the external configuration sources for Proxool are more difficult to change.) --------------------------------------------------------------------- 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 |