if (object.property == null) {..}
triggered a Hibernate load. A working solution is explained here: you have to do if (object.propertyId == null) {..}
I cannot find this in the documentation but as the docs are huge, I may have very well missed it.
No comments:
Post a Comment