Imporved @Where support, especially for Many-to-many tables

This commit is contained in:
Roland Praml committed 2021-06-21 14:50:15 +02:00
1 parent 8f432aa0a9
commit 66cb6d5e7d
29 files changed
+525 -53

No files matched your search

@@ -149,7 +149,7 @@ public class ModelBuildPropertyVisitor extends BaseTablePropertyVisitor {
@Override
public void visitMany(BeanPropertyAssocMany<?> p) {
if (p.hasJoinTable() && p.getMappedBy() == null) {
if (p.createJoinTable()) {
// only create on other 'owning' side
// build the create table and fkey constraints