What is foreign key in hibernate?



What is foreign key in hibernate?..

Answer / Deepak Kumar Rastogi

In Hibernate, a Foreign Key is a reference to the primary key of another entity that establishes a relationship between entities.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What inheritance mapping strategies are available in hibernate?

1 Answers  


Define hibernate validator framework

1 Answers  


How to implement joins in hibernate?

1 Answers  


Difference between managed associations and hibernate associations?

1 Answers  


What the benefits are of hibernate over jdbc?

1 Answers  


What is hibernate connection pool_size?

1 Answers  


What is the way to rollback transaction if something goes wrong using hibernate api?

1 Answers  


How many layers are there in hibernate architecture?

1 Answers  


How to configure hibernate second level cache using ehcache?

1 Answers  


What is callback interface in hibernate?

1 Answers  


What is light object mapping in hibernate?

1 Answers  


How is hql query created?

1 Answers  


Categories