You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/05/01 02:22:06 UTC

[jira] [Resolved] (CALCITE-629) Can't use extended version of CalcitePrepareImpl with JDBC Driver

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

Julian Hyde resolved CALCITE-629.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0-incubating

I believe that the changes introduced to fix CALCITE-693 and CALCITE-691 will also fix this problem.

> Can't use extended version of CalcitePrepareImpl with JDBC Driver
> -----------------------------------------------------------------
>
>                 Key: CALCITE-629
>                 URL: https://issues.apache.org/jira/browse/CALCITE-629
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating
>            Reporter: Eugene Zimichev
>            Assignee: Julian Hyde
>             Fix For: 1.3.0-incubating
>
>
> Constructor of CalciteConnectionImpl directly uses field Driver#prepareFactory, although Driver class provides protected method that can redefine it.
> Because of field hiding user can't register a custom extension of CalciteConnectionImpl.
> Proposed fix - use createPrepareFactory method instead of field access.



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