Hi all,

Has anyone experienced this problem?

I have a CMP entity bean with two fields, an id (primary key) and a name.

I have two finder methods, the standard findByPrimaryKey, and a findAll 
method which takes no parameters, and returns an Enumeration of all 
objects. The jonas-ejb-jar.xml file has the jdbc-where-clause for 
findAll blank.

My test client creates one bean with a random names. Then it does a 
findAll, and for each bean prints out the name, and then removes it. For 
some reason, no bean is found. When I run the client again, *one* bean 
is found, but it is the bean from the first run. The pattern repeats on 
each run of the client.

My database log shows the bean in each run properly being inserted 
before the select for the findAll is done. I tried putting a 500 msec 
sleep between the create and the findAll, but that didn't help.

Anyone have any ideas?

--Rob

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to