This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, i want to ask u in the 1:1 relation mapping in cmr ejb i am going to use remote interfaces home interfaces and i have use local home and remote interfaces but i cant understand when the client call the findByPrimaryKey method of another bean who has foreign key that methods return type will be of local remote interface or remote interface. bcz my error will be of:-
so if i put local interface then it will call the home interface create method where the datatype is of local type so it will create a problem for me so any one tell me how to use local interface finder method . thanks alot
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