- java annotation
- 자바 애노테이션
- 스프링 애노테이션
1 목록
소속패키지 | 애노테이션명 | 설명 |
---|---|---|
@Deprecated | ||
@Mapping | ||
java.lang | @Override | |
@SuppressWarnings | ||
java.lang.annotation | @Documented | |
@Retention | ||
@Target | ||
javax.persistence | @Column | 컬럼 관련 설정(이름, 제약조건 등) |
javax.persistence | @Entity | JPA엔티티 선언 |
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 | @AllArgsConstructor | 모든 인자를 받는 생성자 자동생성 |
lombok | @Data | |
lombok | @NoArgsConstructor | 인자 없는 생성자 자동생성[2] |
2 같이 보기
3 참고 자료
편집자 Jmnote bot Jmnote
로그인하시면 댓글을 쓸 수 있습니다.