adspace
Answer Posted / 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 |
Post New Answer View All Answers