org.hibernate.annotations
Annotation Type Sort


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Sort

Collection sort (Java level sorting)

Author:
Emmanuel Bernard

Optional Element Summary
 Class comparator
          Sort comparator implementation
 SortType type
          sort type
 

type

public abstract SortType type
sort type

Default:
org.hibernate.annotations.SortType.UNSORTED

comparator

public abstract Class comparator
Sort comparator implementation

Default:
void.class


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.