blaze-persistence
blaze-persistence copied to clipboard
SIZE to count optimization of inverse one-to-many leads to error
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))