979899100101102103104105106107108109
{ try { for (int i = 1; i <= 10; i++) { Author author = new Author(); author.setName("Author " + i); author.save(); for (int j = 1; j <= 10; j++) { Book book = new Book(); book.setAuthor(author);