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

Eric Lomore commented on PHOENIX-3359:
--------------------------------------

I'm not sure I see the reasoning behind a utility method. Both the connection 
and statement objects will be needed in the test context, and it's not like we 
would re-use the same objects on every test.
Shouldn't I just find cases of {{unwrap(PhoenixStatement.class)}} and spot fix 
those? Thanks!

> 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
>            Assignee: 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)

Reply via email to