ebean-orm / ebean-agent

Enhancer Agent for EbeanORM
Apache License 2.0
12 stars 13 forks source link

Avoid [preGetter] lazy loading when setting a ToMany property #160

Closed rbygrave closed 3 years ago

rbygrave commented 3 years ago

When a setter on a OneToMany or ManyToMany is invoked on a loaded bean, then we don't want to invoke the preGetter (which can invoke lazy loading). Instead the setter methods on ToMany properties should act like Id properties.