I have a Java application, when I debug it on one machine, the type of a variable is LocalDateTime, but on another machine it is Timestamp.
This is the actual variable
Object teste = rs.getObject(i);
This is the LocalDateTime one, the Apache version is 7.0.106 and it is running with Windows Server 2019
Server version: Apache Tomcat/7.0.109
Server built: Apr 22 2021 18:43:38 UTC
Server number: 7.0.109.0
OS Name: Windows Server 2019
OS Version: 10.0
Architecture: amd64
JVM Version: 1.8.0_291-b10
JVM Vendor: Oracle Corporation
This is on the Timestamp one, the Apache version is 7.0.109 and it is running with Windows 10
Server version: Apache Tomcat/7.0.106
Server built: Sep 16 2020 08:33:41 UTC
Server number: 7.0.106.0
OS Name: Windows 10
OS Version: 10.0
Architecture: amd64
JVM Version: 1.8.0_271-b09
JVM Vendor: Oracle Corporation
I don't think it has something to do with the version, since it is just a patch, and reading the changelog there is nothing about it, I think it can be some configuration, but I can't find anything, if anyone could give me a guide or a place to look at, I would appreciate.