You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2016/10/07 05:22:20 UTC

[jira] [Commented] (PHOENIX-3359) Update JDBC urls to match connection type

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

Maryann Xue commented on PHOENIX-3359:
--------------------------------------

Actually we could get the inner PhoenixConnection instance through a PhoenixCalciteConnection. Think we might need a utility method to do this "unwrap" thing instead.

> Update JDBC urls to match connection type
> -----------------------------------------
>
>                 Key: PHOENIX-3359
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3359
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Eric Lomore
>
> Connection's that are intended to be unwrapped into PhoenixConnection's need to be created using the old JDBC url, 
> {{DriverManager.getConnection(getOldUrl())}}
> {{PhoenixConnection pc = conn.unwrap(PhoenixConnection.class);}}



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