What is referential integrity and why is it important?



What is referential integrity and why is it important?..

Answer / Pawan Kumar Tiwari

Referential integrity ensures that relationships between tables remain consistent. It prevents situations where a parent record does not have child records, or a child record has no corresponding parent. It is important to maintain data accuracy and consistency within the database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is the use of cache in hibernate?

1 Answers  


What is the is the default transaction factory in hibernate?

1 Answers  


What is the difference between save() and persist() in hibernate?

1 Answers  


What is the difference between save and merge in hibernate?

1 Answers  


What are the hibernate annotations?

1 Answers  


How does hibernate cache work?

1 Answers  


How to insert date in database using hibernate?

1 Answers  


What is a zero to many relationship?

1 Answers  


What is hibernate dialect?

1 Answers  


Can we update primary key in hibernate?

1 Answers  


Does hibernate support nosql?

1 Answers  


What is true for hibernate and jpa?

1 Answers  


Categories