0 Replies Latest reply on Jul 21, 2006 4:49 PM by James Davies

    Exercise 5.1 problem using EntityManager

    James Davies Newbie

      I am having problems with the Oreilly EJB3.0 workbook 3 exercise 5.1on pages 553-554. When I run client_1, cabin_1 is created in the database after calling createCabin() mathod. However, immeditaly after, I am returned null values when I attempt to find the next 2 instances of the cabin, cabin_2 and cabin_3 in the client program using dao.findCabin(pk). What would cause this? I can see the Cabin entry in the database, and the book states that I should be able to call them up out of the database at this point?