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

Sergio Lob commented on PHOENIX-1659:
-------------------------------------

Question: It specifies that the 'REMARKS' column may be null. Is it possible 
this is a bug in MyBatis, expecting this field to always be present?

Response: It means that the ResultSet can return a NULL for the REMARKS column 
(ie is NULLABLE). It does not mean that the column should not be in the 
ResultSet.  A JDBC driver provider should return as a minimum the answer set 
columns as described by getColumns(). However, they are free to add additional 
columns to the resultset after the last defined column (IS_GENERATEDCOLUMN).

> PhoenixDatabaseMetaData.getColumns does not return REMARKS column
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-1659
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1659
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Kevin Guthrie
>              Labels: Newbie
>
> I am attempting to use phoenix as a jdbc input for MyBatis, and I am getting 
> errors when loading the meta data for table columns because the value of the 
> REMARKS column is not returned by the query issued in 
> PhoenixDatabaseMetaData.getColumns



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

Reply via email to