Hi
i am implementing 1:1 relationship in cmp ejb with jdeveloper as
IDE tell me how to solve this problem related to primay key
or should i use the iterator like this:-
iterator i=home.findByPrimaryKey("").iterator();
while(i.hasNext())
{
Cnmas cnn=(Cnmas)PortableRemoteObject.narrow(i.next().cnmas.class);
cnmas.getID();
}
or with out this like
Cnmas cnn = cnhome.findByPrimaryKey(dpwb_no);
but if i use this statement in the client side
then my problem in this case :-
1. i have multiple records in dpwb_no because primary key has multiple records retrival fine
2. second problem is home interface ka finder method call kar raahain hain and whose return type is not local type
but client will interact only through the localhome interface so pls
tell me how to do that
thanks alot