Class DateConverter

java.lang.Object
org.fastnate.generator.converter.AbstractDateConverter<Date>
org.fastnate.generator.converter.DateConverter
All Implemented Interfaces:
ValueConverter<Date>

public class DateConverter extends AbstractDateConverter<Date>
Converts a date property of an EntityClass to SQL.
Author:
Andreas Penski
  • Constructor Details

    • DateConverter

      public DateConverter(AttributeAccessor attribute, boolean mapKey)
      Creates a new instance of DateConverter.
      Parameters:
      attribute - the inspected attribute
      mapKey - indicates that the converter is used for the key of a map property
    • DateConverter

      public DateConverter(jakarta.persistence.TemporalType type)
      Creates a new instance of DateConverter.
      Parameters:
      type - the temporal type of the property