SchemaUpdate fails to create ForeignKeys with MariaDB, it recognises "BASE TABLE" and not "TABLE" as table type.
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.
with MariaDB you should add to the the configuration the property