I am having an awfully difficult time understanding why the following code does not work. I created Author, Book, and Publisher Entity classes. Author can write many books and a book can be written many authors. Publisher can publish many books but a single book can be published by one Publisher (or none). I am getting a error when trying to insert data. If I was just inserting mock data using sql, I would first insert the publisher (because it will have child tables that refer to it), then I would insert either an author, or a book, the order of what I insert first should not matter (but the book needs to have a valid FK).
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?