You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Geraud Campion (JIRA)" <ji...@apache.org> on 2015/11/06 03:59:27 UTC
[jira] [Closed] (METAMODEL-206) JDBC Datasets are TYPE_FORWARD_ONLY
[ https://issues.apache.org/jira/browse/METAMODEL-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geraud Campion closed METAMODEL-206.
------------------------------------
Resolution: Not A Problem
> JDBC Datasets are TYPE_FORWARD_ONLY
> -----------------------------------
>
> Key: METAMODEL-206
> URL: https://issues.apache.org/jira/browse/METAMODEL-206
> Project: Apache MetaModel
> Issue Type: Bug
> Affects Versions: 4.4.1
> Reporter: Geraud Campion
> Priority: Minor
>
> Many of the other DataContext's Datasets allow you to iterate through the dataset multiple times. However, JDBCDataContext only allows you to do this once. To workaround, I can reexecute the query before iterating the second time.
> I believe this is caused by executing statements using ResultSet.TYPE_FORWARD_ONLY. This may not actually be a bug. I am not sure if this is by design to provide better performance and ensure concurrency.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)