Closed AndreGuima closed 5 years ago
https://github.com/hellokoding/hellokoding-courses/blob/0cda5349ce56fb7c844c5a0d303713f82b6c1ed4/jpa-hibernate-examples/jpa-hibernate-many-to-many-mysql/src/main/java/com/hellokoding/jpa/book/Book.java#L31
It was my mistake, sorry. I forgot to create a instance " = new HashSet<>();"
https://github.com/hellokoding/hellokoding-courses/blob/0cda5349ce56fb7c844c5a0d303713f82b6c1ed4/jpa-hibernate-examples/jpa-hibernate-many-to-many-mysql/src/main/java/com/hellokoding/jpa/book/Book.java#L31