blaze-persistence icon indicating copy to clipboard operation
blaze-persistence copied to clipboard

SIZE to count optimization of inverse one-to-many leads to error

Open beikov opened this issue 3 years ago • 0 comments

An entity with a mapping like e.g.

@OneToMany(mappedBy = "..")
List<Entity1> entities;

seems to be problematic when using SIZE in e.g. @Mapping("SIZE(entities)") because it renders COUNT(INDEX(entities))

beikov avatar May 20 '22 12:05 beikov