Skip to content

Commit

Permalink
Add hint on assumption of type 'timestamp with time zone'
Browse files Browse the repository at this point in the history
  • Loading branch information
kagkarlsson committed Feb 24, 2024
1 parent 4a2edb7 commit e6dfb94
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ public AutodetectJdbcCustomization(DataSource dataSource, boolean persistTimesta
LOG.info("Using MySQL jdbc-overrides for version older than 8. (v {})", dbVersion);
detectedCustomization = new MySQLJdbcCustomization(true);
}
} else {
LOG.info("No database-specific jdbc-overrides applied. Assuming time-related columns "
+ "to be of type compatibe with 'TIMESTAMP WITH TIME ZONE'. If not, consider overriding "
+ "to always UTC via '.alwaysPersistTimestampInUTC()'.");
}

} catch (SQLException e) {
Expand Down

0 comments on commit e6dfb94

Please sign in to comment.