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

Robert Yokota commented on CALCITE-3305:
----------------------------------------

Ok, makes sense.  I was hoping to create a {{TransactionalCalciteMetaImpl}} 
that subclassed {{CalciteMetaImpl}} and overrode the {{commit}} and 
{{rollback}} methods, as well as added a bit of transactional code before 
calling {{super}} in other places. 

> Cannot subclass CalciteMetaImpl because CalciteConnectionImpl is not public
> ---------------------------------------------------------------------------
>
>                 Key: CALCITE-3305
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3305
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.20.0
>            Reporter: Robert Yokota
>            Priority: Minor
>
> I would like to subclass CalciteMetaImpl but its one constructor parameter of 
> type CalciteConnectionImpl is not public.  Perhaps it can be changed to be of 
> type AvaticaConnection since it just passes the constructor parameter to its 
> superclass constructor which is of type AvaticaConnection?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to