Skip to content

Commit

Permalink
Fix for property description 'ConnectionProperties.treatMysqlDatetime…
Browse files Browse the repository at this point in the history
…AsTimestamp'.

Change-Id: I7e2cacf5a0d1837bf06c493b02d6717e660263df
  • Loading branch information
fjssilva committed Sep 5, 2023
1 parent bae6356 commit 71e4c6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -979,8 +979,8 @@ ConnectionProperties.tlsVersions=List of TLS protocols to allow when establishin
ConnectionProperties.traceProtocol=Should the network protocol be logged at the TRACE level?
ConnectionProperties.trackSessionState=Receive server session state changes on query results. These changes are accessible via ''MysqlConnection.getServerSessionStateController()''.
ConnectionProperties.transformedBitIsBoolean=If the driver converts TINYINT(1) to a different type, should it use BOOLEAN instead of BIT?
ConnectionProperties.treatMysqlDatetimeAsTimestamp=Should the driver treat the MySQL DATETIME type as TIMESTAMP for the purposes of ''ResultSet.getObject()''? Enabling this option changes the default MySQL type to Java mapping for DATETIME, from ''java.time.LocalDateTime'' to ''java.sql.Timestamp''. Given the nature of the DATETIME type and its inability to represent instant values, it is not advisable to enable this option unless the driver is used with a framework or API that expects exclusively objects from the default database to Java types mapping, which is the case of, for example, ''javax.sql.rowset.CachedRowSet''.
ConnectionProperties.treatUtilDateAsTimestamp=Should the driver treat ''java.util.Date'' as a TIMESTAMP for the purposes of ''PreparedStatement.setObject()''?
ConnectionProperties.treatMysqlDatetimeAsTimestamp=Should the driver treat the MySQL DATETIME type as TIMESTAMP in ''ResultSet.getObject()''? Enabling this option changes the default MySQL data type to Java type mapping for DATETIME from ''java.time.LocalDateTime'' to ''java.sql.Timestamp''. Given the nature of the DATETIME type and its inability to represent instant values, it is not advisable to enable this option unless the driver is used with a framework or API that expects exclusively objects following the default MySQL data types to Java types mapping, which is the case of, for example, ''javax.sql.rowset.CachedRowSet''.
ConnectionProperties.treatUtilDateAsTimestamp=Should the driver treat ''java.util.Date'' as a TIMESTAMP in ''PreparedStatement.setObject()''?
ConnectionProperties.trustCertificateKeyStorePassword=Password for the trusted root certificates key store.
ConnectionProperties.trustCertificateKeyStoreType=Key store type for trusted root certificates.[CR]Null or empty means use the default, which is "JKS". Standard key store types supported by the JVM are "JKS" and "PKCS12", your environment may have more available depending on what security providers are installed and available to the JVM.
ConnectionProperties.trustCertificateKeyStoreUrl=URL for the trusted root certificates key store.[CR]If not specified, the property ''fallbackToSystemTrustStore'' determines if system-wide trust store is used.
Expand Down

0 comments on commit 71e4c6b

Please sign in to comment.