adamsaghy commented on code in PR #6047:
URL: https://github.com/apache/fineract/pull/6047#discussion_r3497412409


##########
fineract-core/src/main/java/org/apache/fineract/infrastructure/core/service/database/JavaType.java:
##########
@@ -361,7 +361,7 @@ public Object parse(String s, String format, Locale locale) 
{
             case STRING -> s;
             case DATETIME -> Timestamp.valueOf(s);
             case TIME -> Time.valueOf(s);
-            case DATE -> new Date(s);
+            case DATE -> java.sql.Date.valueOf(s);

Review Comment:
   I would leave it AS-IS for now...



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to