It is possible to Hibernate configuration (hopefully an annotation on the classes planned @Column area) that will allow me to sort an accumulation of organizations connected using the loaded entity with a given column of this entity whenever a session.load(Entity.class, Id) is known as?

For instance basically had an EntityA that contained a OneToMany association for an EntityB.

public class EntityA {
    @OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY) 
    private Set<EntityB> headlines = new TreeSet<Entity>();


I would like EntityB to become sorted within the Set that's came back from Hibernate.

Session.load doesn't load a listing, merely a single object.

You are able to sort a listing of organizations whenever you retrieve them in the database using the addOrder() method around the criteria.

For those who have a parent or gaurdian class with a listing of kids, you can find the kids using the @OrderBy annotation (see Hibernate Annotations - Collections

session.load() loads just one entity instance. No sorting is involved.

Update (according to question edit):

@OrderBy("column_name") may be used to sort collection elements within entity by given column however that only is sensible for collections that maintain their order (e.g. List, not Set):

@OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY) 
private List<EntityB> headlines = new ArrayList<Entity>();

No. You are able to choose ordering only on collection level (@OrderBy) or throug hql or criteria api.

I made use of @Sort along with a SortedSet collection to map my association which needed that my Entity implement Comparable interface (int compareTo(T) method).

@OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY)
private SortedSet<Entity> headlines = new TreeSet<Entity>();