본문 바로가기
개발/Framework || Lib

ibatis <abotro> sort - 아바터 정렬

by 백아절현 2008. 8. 12.
출처 : http://kyungseo.pe.kr/blog/tag/92

package xxx.business.sys.domain;
 
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
public class RoleExample {
   
/**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database table TM_XXX_ROLE
     *
     * @abatorgenerated Wed Nov 28 17:31:32 KST 2007.
     */

    private
String orderByClause;
 
   
/**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database table TM_XXX_ROLE
     *
     * @abatorgenerated Wed Nov 28 17:31:32 KST 2007.
     */

    private List<Criteria> oredCriteria = new ArrayList<Criteria>();
 
   
/**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table TM_XXX_ROLE
     *
     * @abatorgenerated Wed Nov 28 17:31:32 KST 2007.
     */

    public void setOrderByClause(
String orderByClause) {
        this.orderByClause = orderByClause;
    }
 
   
/**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table TM_XXX_ROLE
     *
     * @abatorgenerated Wed Nov 28 17:31:32 KST 2007.
     */

    public
String getOrderByClause() {
        return orderByClause;
    }
 
   
/**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table TM_XXX_ROLE
     *
     * @abatorgenerated Wed Nov 28 17:31:32 KST 2007.
     */

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }
 
    ...
 
}


아바터 setOrderByClause로 order by 줄수있따. -.-

댓글