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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: sql
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated: