MySQLDbCodecs

works.iterative.sqldb.mysql.MySQLDbCodecs
object MySQLDbCodecs

Shared DbCodecs for MySQL entities.

These codecs use java.sql.Timestamp as the base type because:

  1. Timestamp has native JDBC/Magnum support 2. Avoids circular dependency: Magnum's Instant codec uses OffsetDateTime, so defining OffsetDateTime in terms of Instant creates a deadlock

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Givens

Givens

given given_DbCodec_Instant: DbCodec[Instant]

DbCodec for Instant using Timestamp as base

DbCodec for Instant using Timestamp as base

Attributes

given given_DbCodec_OffsetDateTime: DbCodec[OffsetDateTime]

DbCodec for OffsetDateTime using Timestamp as base

DbCodec for OffsetDateTime using Timestamp as base

Attributes