[
https://issues.apache.org/jira/browse/METAMODEL-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882867#comment-13882867
]
Kasper Sørensen commented on METAMODEL-36:
------------------------------------------
Also note that this introduced another issue in the eobjects.org codebase, so
let's see that resolved first:
http://eobjects.org/trac/ticket/1207
> Avoid always holding a JDBC connection for every JdbcCompiledQuery
> ------------------------------------------------------------------
>
> Key: METAMODEL-36
> URL: https://issues.apache.org/jira/browse/METAMODEL-36
> Project: Metamodel
> Issue Type: Improvement
> Affects Versions: 4.0
> Reporter: Kasper Sørensen
> Assignee: Kasper Sørensen
>
> We have a issue that a JdbcCompiledQuery always holds a connection and reuses
> this connection whenever the compiled query gets fired. This isn't quite
> elastic enough and also makes for a resource leak if a lot of compiled
> queries are created. Rather we should have the connections acquired grow and
> shrink as per the usage of the query.
> This issue has already been resolved in the eobjects.org codebase.
> See http://eobjects.org/trac/ticket/1206
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)