You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Thomas Dudziak (JIRA)" <ji...@apache.org> on 2006/07/13 09:59:31 UTC

[jira] Updated: (DDLUTILS-2) DynaSql.query methods don't (can't?) free up JDBC resources

     [ http://issues.apache.org/jira/browse/DDLUTILS-2?page=all ]

Thomas Dudziak updated DDLUTILS-2:
----------------------------------

    Component: Core (No specific database)

> DynaSql.query methods don't (can't?) free up JDBC resources
> -----------------------------------------------------------
>
>          Key: DDLUTILS-2
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-2
>      Project: DdlUtils
>         Type: New Feature

>   Components: Core (No specific database)
>     Reporter: Dave Sunerton-Burl
>     Assignee: Thomas Dudziak
>     Priority: Minor
>  Attachments: patch-DynaSqlIterator.txt, patch-add-getCollection.txt
>
> See attached patch for a way round this.
> The new getCollection methods return a collection of populated DynaBeans based on an SQL query (including the ability to set the start and end row number to return a subset of the query). These methods clean up the connection, statement, and resultSet used before returning.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira