Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1946

TemporalType.TIMESTAMP creates a non-nullable column on MySQL.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.1
    • None
    • sql
    • None
    • MySQL 5

    Description

      TemporalType.TIMESTAMP creates a non-nullable column with a default value on MySQL whereas on other databases a nullable column is created. The issue was reported on user's mailing list [1].

      [1] http://openjpa.208410.n2.nabble.com/MappingTool-generated-SQL-for-TIMESTAMP-tp5858072p5858072.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            milosz Milosz Tylenda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: