I have a class say: \"ClassA\" which has a collection of \"ClassB\"
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY) @JoinColumn(name = \"COLUMN
I only know NHibernate (.NET version), but I guess it should work similar:
@OrderBy(clause = "name asc")
Or you can try this:
@OrderBy("name")