-
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.