Compound Primary key problem
0 posts in topic
Flat View  Flat View

Posted By:   Nayyer_Kamran
Posted On:   Thursday, March 22, 2001 03:52 AM

I faced a problem while developing a CMP entity bean with a compound key. Problem is if I change one of the primary key fields and then call some fn over the same bean exception occures. The exception is
"nayyerjava.rmi.NoSuchObjectException: Exception in ejbLoad:javax.ejb.NoSuchEntityException: Bean with primary key: '10Adeel' not found. "

This is because that container does not change its refrence with the field change should it not do that?

does ejb specification discuss this problem as its not that much unusual bahaviour.

Nayyer Kamran

About | Sitemap | Contact