You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/12/03 00:14:12 UTC
[jira] [Commented] (SQOOP-1830) GenericJdBcExtractor does not
create java date objects when extracting
[ https://issues.apache.org/jira/browse/SQOOP-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232283#comment-14232283 ]
Veena Basavaraj commented on SQOOP-1830:
----------------------------------------
see related ticket on why we need to have java objects here.
> GenericJdBcExtractor does not create java date objects when extracting
> ----------------------------------------------------------------------
>
> Key: SQOOP-1830
> URL: https://issues.apache.org/jira/browse/SQOOP-1830
> Project: Sqoop
> Issue Type: Sub-task
> Components: sqoop2-framework
> Reporter: Veena Basavaraj
> Fix For: 1.99.5
>
>
> {code}
> for (int i = 0; i< column; i++) {
> array[i] = resultSet.getObject(i + 1) == null ? GenericJdbcConnectorConstants.SQL_NULL_VALUE
> : resultSet.getObject(i + 1);
> }
>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)