You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2015/04/30 12:32:05 UTC
[jira] [Created] (CAY-2008) Validation query support in Cayenne
DataSource
Andrus Adamchik created CAY-2008:
------------------------------------
Summary: Validation query support in Cayenne DataSource
Key: CAY-2008
URL: https://issues.apache.org/jira/browse/CAY-2008
Project: Cayenne
Issue Type: Bug
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
While I am normally of an opinion that our own connection pool should not compete with 3rd parties, and we should instead focus on ORM features of the framework, I ran into a few scenarios that made me reconsider and work on adding at least some features.
Specifically "validation query" that is run before a connection is given to the pool user is a must have. Otherwise the user gets timed out connections. So arguably the pool is broken as a result.
While we are at it, we might rename connection pool classes, and provide a builder for the pool. PoolManager is not the most intuitive name for the pooling DataSource and its construction API is far from easy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)