Neelixx wrote:
Each table has it's own unique ID. (the primary key). Since you are loading an individual employee, then there could only be one of those employees in the table. Would you really have two of the same employee in this table?
This is the "id" that the load() method is referring to. If you have to grab multiple employees, then you will need a query instead of an idividual load().
Employee table has employeeno, companyno as composite primary key. So if i have to load an Employee instance I need to pass both the parameters.
I believe load() takes 2nd argument as "id" which i refer to be a primary key...