I have two tables like customer and sales enquiry...in both tables customer id in same...while im selecting the customerid in sales enquiry form,the corresponding cust name will shown on this form..so i have to write some query...please help me sir..where i have to write and what is the procedure fir it...
Check the documentation of your persistence provider, this is not a Seam issue.