[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Exercise 5.1 problem using EntityManager

jedavie do-not-reply at jboss.com
Fri Jul 21 16:49:10 EDT 2006

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?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960022#3960022

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960022

More information about the jboss-user mailing list