MyBatis Generator 주석 생 성

602 단어 mybatis
my batis Generator 가 코드 를 생 성 할 때 Mapper 와 mapper.xml 파일 에서 생 성 된 많은 주석 입 니 다.my batis generator 는 주 해 를 설정 하 는 능력 을 제공 합 니 다.generator Config.xml 에 설정 을 추가 합 니 다.

        
        
 

suppressDate 는 생 성 날짜 의 설명 을 삭제 합 니 다.
suppressAllComments 는 모든 주석 을 삭제 합 니 다.
commentGenerator 는 기본적으로 org.my batis.generator.internal.DefaultCommentGenerator 를 사용 하여 주 해 를 생 성 합 니 다.type 설정 을 통 해 자신의 주석 생 성 기 를 설정 할 수 있 습 니 다.

좋은 웹페이지 즐겨찾기