Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39409

Add Instant as a Hibernate Type

    Details

    • Type: Feature Request
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.0, 19.0
    • Component/s: Kernel
    • Labels:
      None
    • 12 status:
      Resolved
    • Previous Issue Keys:
      KNL-1563
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Add support for java.util.Instant as a Hibernate Type

      @Type(type = "org.sakaiproject.springframework.orm.hibernate.type.InstantType")
      @Column(name = "CREATED_DATE", nullable = false)
      private Instant dateCreated;

      This can be removed once we move to Hibernate 5 as it will be included.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  ern Earle R Nietzel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code