springboot 어노테이션

예담직업전문학교(IT)·2024년 11월 10일
0

스프링

목록 보기
2/5

springboot 버전

springboot    3.2.9   <==   3.2.0  <==  2.7.18
    spring    6.1.12  <==   5      <==  5
   mybatis    3.5.14  <==   3.0.3  <==  2.3.2
      java    21      <==   17     <==  11

springboot annotation

  • @EnableAutoConfiguration
  • @EnableWebMvc
  • @SpringBootApplication
  • @Configuration
  • @PropertySource, @ConfigurationProperties, @Value
  • @ComponentScan, @Component
  • @Bean, @Required, @Singletone, @Lazy
  • @Autowired, @Inject, @Qualifier, @Resource
  • @PostConstruct, @PreConstruct, @PreDestory
  • @RestController, @Controller, @Service, @Repository
  • @CrossOrign
  • @ExceptionHandler
  • @ControllerAdvice, @RestControllerAdvice
  • @RequestMapping, @GetMapping, @PostMapping, @PutMapping, @DeleteMapping, @PatchMapping
  • @CookieValue
  • @Valid, @InitBinder
  • @PathVariable
  • @RequestAttribute, @RequestHeader, @RequestParam, @RequestPart, @RequestBody
  • @ModelAttribute, @SessionAttributes
  • @ResponseBody, @ResponseStatus
  • @Transactional
  • @Cacheable, @CachePut, @CacheEvent, @CacheConfig

AOP Anotation

  • @Aspect
  • @Pointcut
  • @Before, @After, @Around, @AfterRetruning, @AfterThrowing

JPA Annotation

  • @Entity
  • @Table
  • @Id, @GeneratedValue
  • @column
  • @OneToMany
  • @ManyToOne

Java Bean Validation Annotation

  • @NotBlank, @Null, @NotNull
  • @NotEmpty
  • @Email
  • @Min, @Max
  • @Digits, @Positive, @PositiveOrZero, @Negative, @NegativeOrZero
  • @Future, @futureOrPresent, @Past, @PastOrPresent

Swagger Annotation

  • @Tag
  • @Operation
  • @Parameter
  • @ApiResponse
  • @Schema
  • @ApiModelProperty
profile
대구 SW개발 & DB전문교육기관

0개의 댓글