KuKuDeCheng commented on a change in pull request #5318:
URL: https://github.com/apache/nifi/pull/5318#discussion_r705064997



##########
File path: 
nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/util/DataTypeUtils.java
##########
@@ -1423,9 +1423,40 @@ public static Timestamp toTimestamp(final Object value, 
final Supplier<DateForma
             }
         }
 
+        if ("oracle.sql.TIMESTAMP".equals(value.getClass().getName())) {

Review comment:
       Thanks for review.  You are right, and I redesign a new solution for 
this issue.  
   Oracle jdbc driver will tranform oracle.sql..TIMESTAMP to 
java.sql.Timestamp. 
   So it's ok if we just modify ResultSetRecordSet.java 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to