What are the basic hibernate persistent annotations?



What are the basic hibernate persistent annotations?..

Answer / Hidayat Husain Naqvi

@Entity, @Id, @GeneratedValue, @Column, and @Table are some of the basic annotations used in Hibernate for configuring Java classes to be managed by Hibernate as database entities.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Can we use jpa without hibernate?

1 Answers  


What is disadvantage of hibernate?

1 Answers  


What is difference between hibernate and jdbc?

1 Answers  


What is a session in hibernate?

1 Answers  


Is hql database independent?

1 Answers  


What is the difference between jpql and hql?

1 Answers  


What is the need of hibernate tools when orm tools can be used?

1 Answers  


What are the 4 principles of orm?

1 Answers  


What are the restrictions for the entity classes?

1 Answers  


How can we reattach any detached objects in Hibernate?

1 Answers  


What is flushing in hibernate?

1 Answers  


Is jpa an orm?

1 Answers  


Categories