metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (METAMODEL-152) DataContext.refreshSchemas() not respected by QueryPostprocessDataContext
Date Thu, 18 Jun 2015 13:24:00 GMT

    [ https://issues.apache.org/jira/browse/METAMODEL-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591775#comment-14591775
] 

ASF GitHub Bot commented on METAMODEL-152:
------------------------------------------

Github user kaspersorensen commented on the pull request:

    https://github.com/apache/metamodel/pull/30#issuecomment-113154428
  
    Cool. I'll merge.


> DataContext.refreshSchemas() not respected by QueryPostprocessDataContext
> -------------------------------------------------------------------------
>
>                 Key: METAMODEL-152
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-152
>             Project: Apache MetaModel
>          Issue Type: Bug
>            Reporter: Kasper Sørensen
>            Priority: Critical
>
> I've just realized that we have a (probably quite old) critical bug in the sense of QueryPostprocessDataContext
doing dirty caching of the main schema. The refreshSchemas() method on the DataContext interface
is there to clear any cached schemas but it seems that the main schema is always going to
be reused in QueryPostprocessDataContext - a kinda big breach of contract and it impacts a
lot of implementations since this class is superclass of many DataContext implementations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message