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

2006-07-21 Thread jedavie
Hello, 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,

[jboss-user] [EJB 3.0] - Null Pointer when attempting update on newly created detache

2006-07-31 Thread jedavie
Hello, I am having problems with the EJB3.0 concept of being able to update and merge a detached instance of an entity bean. I successfully call the create() mathod, which is really a wrapper for em.persist (entity). However, immediately after, I am returned a null pointer when I attempt to fin

[jboss-user] [EJB 3.0] - EJB3 find() with Oracle database returns NPE

2006-08-08 Thread jedavie
Hello, I am having one problem using the JBoss EJB3 implementation that I cannot figure out and I'm hoping someone can point me in the right direction. When I use the EntityManager to create(), persist(), and then find() an object using the supplied HSQL database, all works well. When I switch