What entries we make in the hibernate config file if we are not using hbm files but annotations?
Answer / Ankit Maurya
When using Hibernate annotations, you don't need to define mapping files (hbm.xml), so entries such as `hibernate.archive.autodetection` and other related properties for mapping files will not be needed.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the interfaces in hibernate?
What are the cascade types in hibernate?
Explain the mechanism by which you can distinguish between transient (i.e. Newly instantiated) and detached objects in hibernate?
What is difference between jpa and hibernate?
Why default constructor is required in hibernate?
How do you map java objects with database tables?
How is hql query created?
What is inversejoincolumns in hibernate?
How do you implement one to many relationships in hibernate?
What is an example of a one to many relationship?
What is the process of communication between hibernate with rdbms?
What does orm consists of?