Report no ALTER TABLE support so schema tooling stops emitting statements the dialect cannot parse

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Model
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Summary

      MongoDB has no ALTER TABLE equivalent, and there are no foreign key constraints to export.
      MongoDialect does not report this, so Hibernate ORM's schema tooling hands the JDBC layer SQL it
      cannot parse. Overriding hasAlterTable() to return false makes the tooling skip those statements
      instead.

      Acceptance

      Schema export for a model with associations emits no statement the JDBC layer rejects, and logs no
      warning about an unparseable statement.

            Assignee:
            Unassigned
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: