metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Sørensen (JIRA) <j...@apache.org>
Subject [jira] [Created] (METAMODEL-36) Avoid always holding a JDBC connection for every JdbcCompiledQuery
Date Tue, 21 Jan 2014 10:22:20 GMT
Kasper Sørensen created METAMODEL-36:
----------------------------------------

             Summary: 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)

Mime
View raw message