-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Best initial size for Collection implementation
PostPosted: Fri Nov 11, 2005 4:45 am 
Newbie

Joined: Thu Oct 20, 2005 11:52 am
Posts: 6
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.,


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.