mirror of https://github.com/apache/lucene.git
SOLR-4978: Time is stripped from datetime column when imported into Solr date field if convertType=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500666 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e98616b8f1
commit
6e638c8460
|
@ -260,6 +260,9 @@ Bug Fixes
|
|||
* SOLR-4788: Multiple Entities DIH delta import: dataimporter.[entityName].last_index_time
|
||||
is empty. (chakming wong, James Dyer via shalin)
|
||||
|
||||
* SOLR-4978: Time is stripped from datetime column when imported into Solr date field
|
||||
if convertType=true. (Bill Au, shalin)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -333,7 +333,7 @@ public class JdbcDataSource extends
|
|||
result.put(colName, resultSet.getDouble(colName));
|
||||
break;
|
||||
case Types.DATE:
|
||||
result.put(colName, resultSet.getDate(colName));
|
||||
result.put(colName, resultSet.getTimestamp(colName));
|
||||
break;
|
||||
case Types.BOOLEAN:
|
||||
result.put(colName, resultSet.getBoolean(colName));
|
||||
|
|
Loading…
Reference in New Issue