I have migrated Oracle DB to PostGre DB. Upon migration, Date datatype in Oracle is changed to Timestamp datatype in Postgre.
For example, date value in Oracle- 27-May-22 is changed to 2022-02-27 09:44:07.000 in Postgre.
While I try to read the record from the table using Java and display to Jsp I am getting '**Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1 **' alert message.
Now when I update the timestamp value to 2022-02-27 09:44:07.001 (notice the change in millisecond value from 000 to any value between 001 and 999) it works fine and no alert pops.
Any reason why this problem may occur and solution for that other than updating the values in the column?