Hi,
I was wondering what is the best initial size of a collection when initializing a collection field. H replaces the reference to it's own implementation. For transient object i can image the size is best set to the suspected initial number of element prior to the first persist transition.
When the objects are loaded from their persistent state, I can image that hibernate instantiates the Class (and instantiates the developed provided collection), quickly thereafter it replaces that reference with one of its own.
What is the best practice (if any) for the initial size of the developer provided collection?
Tx.,
|