Skip to content

Commit

Permalink
Default to use LocalDateTime for DATETIME
Browse files Browse the repository at this point in the history
  • Loading branch information
mirromutth committed Feb 22, 2024
1 parent c0f72df commit 7a0a122
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.math.BigInteger;
import java.nio.ByteBuffer;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.ZonedDateTime;

Expand Down Expand Up @@ -271,7 +272,7 @@ public int getBinarySize() {
/**
* A date time type. It does not contain timezone. It uses string format to transfer the value.
*/
DATETIME(MySqlType.ID_DATETIME, ZonedDateTime.class),
DATETIME(MySqlType.ID_DATETIME, LocalDateTime.class),

/**
* A year type. It contains neither leap year information nor timezone.
Expand Down

0 comments on commit 7a0a122

Please sign in to comment.