Hi all, In OpenJPA's user manual, it recommends Set instead of Collection due to performance and scalability.
I am just curious if I define the field in Collection type and initialize it with a Set instance. Any thing difference from keep it blank. For example: Collection<Entity> entities = new HashSet(); v.s. Set<Entity> entities; v.s. Collection<Entity> entities;(it might be the worst case) Any idea and suggestion. Thanks Gene. _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
