Hello,

When I try to remove from the home interface a entity that never has been 
load on
memory (ejbLoad) or it has been passivated I obtain a exception.

Examples:
1)
         // Long are the PrimaryKey
         homeInterface.remove (new Long (10335));

         It throws a exception: java.rmi.NoSuchObjectException: Object not 
found

2)
         homeInterface.findByPrimaryKey (new Long (10335));
         homeInterface.remove (new Long (10335));

         It works fine.

3)
         remoteInterface = homeInterface.findByPrimaryKey (new Long (10335));
         removeInterface.remove ();

         It works fine.

I am using JRun 3 SP 1

It is a bug, isn't it?

Regards,
Ernesto Botella. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to