org.hibernate.annotations
Annotation Type OrderBy


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

Order a collection using SQL ordering (not HQL ordering)

Author:
Emmanuel Bernard

Required Element Summary
 String clause
          SQL orderby clause
 

Element Detail

clause

public abstract String clause
SQL orderby clause



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