출처 : http://kyungseo.pe.kr/blog/tag/92
아바터 setOrderByClause로 order by 줄수있따. -.-
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;
}
...
}
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 줄수있따. -.-
'개발 > Framework || Lib' 카테고리의 다른 글
Spring Annotation2개 url 사용하기 (0) | 2008.08.27 |
---|---|
ibatis like절 처리 (0) | 2008.08.22 |
[iBatis] ResultMap 사용 시 "The error happened while setting a property on the result object." Error 발생! (1) | 2008.06.20 |
ibatis (0) | 2008.01.03 |
스프링 예제 설명되어있는 블로그 (1) | 2007.10.24 |
댓글