Answer the question
In order to leave comments, you need to log in
Why do we need bidirectional communication in hibernate?
Please explain why bidirectional communication is needed in hibernet, what is its role, when to use it and why is it better than unidirectional
Answer the question
In order to leave comments, you need to log in
Example. There are 2 classes: user and comments:
class User {
int id;
String name;
List<Comment> comments;
// get/set-методы
}
class Comment {
int id;
String content;
User user;
// get/set-методы
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question