Hello All,
 
Suppose I have two database tables A and B.
 
Scehma of A
 
NAME (pk)
VALUE
 
Scehma of B
 
ID (pk)
NAME ( Foreign Key from A)
DETAIL1
DETAIL2 
 
 
A and B have master detail relationship . ( like order and lineitem )
 
so we create a CMP Entity A which has One to Many relationship with Entity B.
 
Now Entity A can have methods exposed like ..
 
Collection getEntityB()
 
My Queries are :-
 
1) I wanted to add another argumented method so that i can have a specific row selected from Entity B where value of DETAIL1 can compared along with the foreign key.
 
getEntityB( "value of detail 1" )
 
 
Can be this done ... , if yes please guide .
 
Thanks
Vikram

Reply via email to