What is @entity annotation in spring?
Answer / Darpan Maheshwari
The @Entity annotation is not specific to Spring but is used in Java Persistence API (JPA). It is used to indicate that a class represents an entity. When you use JPA with Spring, the @Entity annotation helps Spring understand which classes map to database tables.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is use of @configuration in spring?
What is spring jdbc template?
What is the scope of stateful bean in spring?
What is the use of dispatcherservlet in spring?
Which injection is better in spring?
What is spring core container?
What are advantages of spring usage?
What are the benefits of using dependency injection?
What is dao in spring?
Is spring boot better than spring? : Spring Boot
What are the types of advice in aop?
What is a dependency code?