What is the default scope of @Data POJO?

Viewed 19

I know that Spring recommends prototype scope for all stateful beans. However, when we create a POJO using Lombok's @Data annotation, what is the default scope provided by Spring to it ? Is it Singleton or prototype ?

0 Answers
Related