- java annotation
- 자바 애노테이션
- 스프링 애노테이션
1 목록
소속패키지 | 애노테이션명 | 설명 |
---|---|---|
@Deprecated | ||
@Mapping | ||
java.lang | @Override | |
java.lang | @SuppressWarnings | |
java.lang.annotation | @Documented | |
java.lang.annotation | @Retention | |
java.lang.annotation | @Target | |
javax.persistence | @Column | |
javax.persistence | @Entity | |
javax.persistence | @GeneratedValue | 자동으로 값 부여[1] |
javax.persistence | @Id | 엔티티 기본키 필드 |
javax.persistence | @Table | 테이블 이름 등을 수동지정 가능 |
org.hibernate.annotations | @GenericGenerator | |
org.springframework.beans.factory.annotation | @Autowired | |
org.springframework.beans.factory.annotation | @Qualifier | |
org.springframework.boot | @SpringBootApplication | |
org.springframework.boot.autoconfigure | @EnableAutoConfiguration ★ | |
org.springframework.cloud.config.java | @ServiceScan | |
org.springframework.context.annotation | @Bean | |
org.springframework.context.annotation | @ComponentScan | |
org.springframework.context.annotation | @Configuration | |
org.springframework.stereotype | @Component | |
org.springframework.stereotype | @Controller ★★ | |
org.springframework.stereotype | @Service | |
org.springframework.stereotype | @Repository ★ | |
org.springframework.transaction.annotation | @Transactional | |
org.springframework.web.bind.annotation | @RequestMapping ★★ | |
org.springframework.web.bind.annotation | @ResponseBody | |
org.springframework.web.bind.annotation | @RestController ★★ | |
org.springframework.web.servlet.config.annotation | @EnableWebMvc ★★ | |
lombok | @Data | |
lombok | @AllArgsConstructor | |
lombok | @NoArgsConstructor |
2 같이 보기
3 참고 자료
- ↑ @Id와 함께 쓰이는 경우 많음
편집자 Jmnote bot Jmnote
로그인하시면 댓글을 쓸 수 있습니다.