I have an entity bean that is representing a Oracle view in a database. 
I run the findAll() method for the bean and start processing the results, during the 
many hours it takes to complete this processing someone removes  a row of data from 
the view. when I get to that row of data I blow up. see below

2004-09-24 11:07:17,425 ERROR [org.jboss.ejb.plugins.LogInterceptor] Transaction
RolledbackLocalException in method: public abstract java.lang.String com.paychex
.oeg.employee.services.ejb.interfaces.EmployeeLocal.getSsn(), causedBy:
javax.ejb.NoSuchObjectLocalException: Entity not found: primaryKey=168127

the getSsn() method is an abstract  method on the entity bean. 

My question is how can I keep processing the rest of the results of the findAll() 
when/if I run across a missing entity. 

Any help would be appriecated. 
Thank you all in advance.
-Keene


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

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


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to