i migrated our J2EE Applikation from SYBASE to Oracle 9i.
We are using different entitybeans which are called from 2 Sessionbeans. This looks fine!
In some entitybean we have a calling to another entitybean. This works in SYBASe without a problem, but in oracle i get an exception.
2006-07-03 11:07:23,953 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract int org.zeiss.mo.pcs.server.ejb.shape.ShapeLocal.getIndex(), causedBy:
javax.ejb.NoSuchObjectLocalException: Entity not found: primaryKey=124864R0F
It seems, that the bean is loaded, i get no exception calling my findermethod and i getting my local-object without an exception. During accessing the gettermethods from my bean i get the exception above.
Is it generelly allowed to call a entitybean from another entitybean? Why did it work in Sybase? Thanks for help,