Merge pull request #2256 from FOCONIS/many-where-support

Improved @Where support, especially for Many-to-many tables
This commit is contained in:
Rob Bygrave authored and GitHub committed 2021-07-13 15:01:49 +12:00
commit 29582b57f7
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