Geraud Campion created METAMODEL-206:
----------------------------------------

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

Reply via email to