What is composite key in hibernate?



What is composite key in hibernate?..

Answer / Kiran Saini

"Composite Key in Hibernate refers to a primary key that consists of multiple columns or fields instead of a single one. It's used when a table has multiple columns as its primary key."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Can we use multiple database in hibernate?

1 Answers  


What is the meaning of persistence in hibernate?

1 Answers  


What is bidirectional flow?

1 Answers  


Is it possible to perform collection mapping with one-to-one and many-to-one?

1 Answers  


Which object is used to create sessionfactory objects hibernate?

1 Answers  


In how many ways, objects can be fetched from database in hibernate?

1 Answers  


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

1 Answers  


What are the limitations of hibernate?

1 Answers  


How do you implement one to one relationship in hibernate with java annotation?

1 Answers  


Discuss the collections in hibernate?

1 Answers  


Why do we need hibernate framework?

1 Answers  


What is difference between getcurrentsession () and opensession ()?

1 Answers  


Categories