편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
4번째 줄: | 4번째 줄: | ||
* 영어사전에 있는 뜻: '주석', '주석을 달기' | * 영어사전에 있는 뜻: '주석', '주석을 달기' | ||
* 어떤 데이터에 대해 관련된 정보(메타데이터)를 주석으로 부여하는 것 | * 어떤 데이터에 대해 관련된 정보(메타데이터)를 주석으로 부여하는 것 | ||
==자바 애노테이션== | |||
* 자바에서 사용하는 애노테이션 | |||
{| class='wikitable' | |||
|- | |||
| || [[@Deprecated]] | |||
|- | |||
| || [[@Retention]] | |||
|- | |||
| || [[@Target]] | |||
|- | |||
| java.lang || [[@Override]] | |||
|- | |||
| java.lang || [[@SuppressWarnings]] | |||
|- | |||
| [[@Column]] || javax.persistence.Column | |||
|- | |||
| [[@Entity]] || javax.persistence.Entity | |||
|- | |||
| [[@GeneratedValue]] || javax.persistence.GeneratedValue | |||
|- | |||
| [[@Id]] || javax.persistence.Id | |||
|- | |||
| [[@GenericGenerator]] || org.hibernate.annotations.GenericGenerator | |||
|- | |||
| [[@Autowired]] || org.springframework.beans.factory.annotation.Autowired | |||
|- | |||
| [[@EnableAutoConfiguration]] ★ || org.springframework.boot.autoconfigure.EnableAutoConfigur | |||
|- | |||
| [[@SpringBootApplication]] || org.springframework.boot.SpringApplication | |||
|- | |||
| [[@Bean]] || org.springframework.context.annotation.Bean | |||
|- | |||
| [[@ComponentScan]] || org.springframework.context.annotation.ComponentScan | |||
|- | |||
| [[@Configuration]] || org.springframework.context.annotation.Configuration | |||
|- | |||
| [[@Component]] || org.springframework.stereotype.Component | |||
|- | |||
| [[@Controller]] ★★ || org.springframework.stereotype.Controller | |||
|- | |||
| [[@Service]] || org.springframework.stereotype.Service | |||
|- | |||
| [[@Repository]] ★ || org.springframework.stereotype.Repository | |||
|- | |||
| [[@Transactional]] || org.springframework.transaction.annotation.Transactional | |||
|- | |||
| [[@RequestMapping]] ★★ || org.springframework.web.bind.annotation.RequestMapping | |||
|- | |||
| [[@RestController]] ★★ || org.springframework.web.bind.annotation.RestController | |||
|- | |||
| [[@EnableWebMvc]] ★★ || org.springframework.web.servlet.config.annotation.EnableWebMvc | |||
|- | |||
| [[@Data]] || lombok.Data | |||
|- | |||
| [[@AllArgsConstructor]] || lombok.AllArgsConstructor | |||
|- | |||
| [[@NoArgsConstructor]] || lombok.NoArgsConstructor | |||
|} | |||
==같이 보기== | ==같이 보기== |