Add new configuration type hibernate.hbm2dll.extra_physical_table_types

Description

SchemaUpdate fails to create ForeignKeys with MariaDB, it recognises "BASE TABLE" and not "TABLE" as table type.

Environment

MariaDB

Activity

Show:
Andrea Boriero
December 2, 2015, 12:56 PM

Hi ,

the description https://hibernate.atlassian.net/browse/HHH-10152 was
"After update from hibernate 4.3.10 to hibernate 5.0.0 schema update fails to add *cross schema *foreign key constraints."

so specific to cross schema but with MariaDb we have a more general FK problems, the one mentioned in this issue.
So solving this issue will solve the non cross schema FK but for cross schema FK it's necessary also to apply the what I mentioned in the https://hibernate.atlassian.net/browse/HHH-10152.

Andrea Boriero
December 5, 2015, 7:27 PM
Gábor Bene
December 21, 2015, 11:14 AM

Hi Andrea Boriero,

thank you for your contribution. Please help me understand how should I use this new property.

Andrea Boriero
December 21, 2015, 11:56 AM

Hi ,

with MariaDB you should add to the the configuration the property

Gábor Bene
December 21, 2015, 12:27 PM

Thank you very much Andrea Boriero! It is working as expected.

Assignee

Andrea Boriero

Reporter

Andrea Boriero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure