242243244245246247248249250251252
{ IBookHome bookHome = getBookHome(); IBook book = bookHome.findByPrimaryKey(bookId); book.updateEntityAttributes(attributes); } /** * Updates a book, adding a new Publisher at the same time. *
283284285286287288289290291292293
232233234235236237238239240241242
234235236237238239240241242243244
289290291292293294295296297298299
{ IPersonHome home = getPersonHome(); IPerson person = home.findByPrimaryKey(personId); person.updateEntityAttributes(attributes); } public Publisher[] getPublishers() { Connection connection = null;
330331332333334335336337338339340