Hi,
using @LazyCollection(LazyCollectionOption.EXTRA) allows you to prevent collection initialization. But how do you prevent collection initialization when you insert a new item in a Set? Since @LazyCollection(LazyCollectionOption.EXTRA) aims to prevent initialization, I assume we need to be able to specify the fields that are part of the equals method so a select 1 statement can be executed to prevent initialization in this case. I haven't seen anything like this though or perhaps I missed it.
Any ideas?
Marc
|