posted 18 years ago
Thanks. I am also looking for code samples. My confusion is if I have one class representing 2 different tables, (eg) Employee and EmployeeDetails joined by emp_id, what will be setters/getters in the Employee class to persists details in both the tables? What if my employee details class has its own PK and emp_id is FK. How can this declaration be done?