db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-141) Adding a way to set JDBC Driver fetchSize on statement
Date Sun, 25 Mar 2012 21:42:28 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Fox resolved TORQUE-141.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: Thomas Fox

Added the property fetchSize to org.apache.torque.criteria.Criteria. The property will be
passed to the preparedStatement on queries (assuming that the fetchSize prooperty does not
make sense on inserts, updates and deletes)
                
> Adding a way to set JDBC Driver fetchSize on statement
> ------------------------------------------------------
>
>                 Key: TORQUE-141
>                 URL: https://issues.apache.org/jira/browse/TORQUE-141
>             Project: Torque
>          Issue Type: Improvement
>          Components: Runtime, Village
>    Affects Versions: 3.3
>         Environment: All
>            Reporter: GBT
>            Assignee: Thomas Fox
>             Fix For: 4.0
>
>         Attachments: fetchSize.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> With the current version, it's not possible to set the fetchsize on statements (see method
setFetchSize on Statement) in order to optimize the roundtrips with the database. The default
value is set by the JDBC Driver, for Oracle the value is 10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message