mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
Imporved @Where support, especially for Many-to-many tables
This commit is contained in:
1 parent
8f432aa0a9
commit
66cb6d5e7d
29 files changed
+525
-53
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user