Hi
folks,
I've an entity bean
deployed in jboss 3.2.1.
Whilst testing the
code I have a line that creates an instance of the entity bean as
such
ProcessDefinition remote =
home.create("testGuideline");
When this code
executes the instance is created in the database as I can view the instance
using the Hypersonic database manager (Thanks again Heiko!!)
yet remote is null
as the very next line of code is: -
if (
remote==null )
System.out.println("The remote object is
null");
No exception is
thrown in the jboss window and in fact it gives the impression that everythings
fine as it outputs the following lines.
14:50:17,076
INFO [ProcessDefinitionEJB] setEntityContext([EMAIL PROTECTED])
called.
14:50:17,076 INFO [ProcessDefinitionEJB] ejbCreate(testGuideline) called.
14:50:17,076 INFO [ProcessDefinitionEJB] ejbCreate(testGuideline) called.
Has anyone come
across a similar problem with 3.2.1?
My bean is from an
old version of jboss that used JAWS persistence but I have all the correct
doctype definitions
in place in the descriptors and the JAWS must be working or else how would the
entry appear in the database?
Thanks,
Mark.
