Kasper Sørensen created METAMODEL-47:
----------------------------------------

             Summary: Excel DataContext may break if schema is not loaded at 
time of executing query
                 Key: METAMODEL-47
                 URL: https://issues.apache.org/jira/browse/METAMODEL-47
             Project: Metamodel
          Issue Type: Bug
            Reporter: Kasper Sørensen
            Assignee: Kasper Sørensen
            Priority: Critical


In our application of MetaModel we are now seeing some situations where the 
ExcelDataContext is throwing exceptions due to internal IDs of sheets are not 
mapped to table names at the time of executing a query.

It happens because we have one DataContext which is used to explore the schema, 
then the query is built and then later another instance of ExcelDataContext may 
fire the query. But it doesn't work properly because the second 
ExcelDataContext has not yet loaded it's schema definition.

We already fixed this issue in eobjects.org MetaModel (needed a hotfix 
urgently), see this revision:
http://eobjects.org/trac/changeset/5683



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to