I want to retrieve a specific java object namley Job by an equals statement therefore if a Job object used to query is equal to an existing object i want replace it with the new one.
eg, updateJob(Job currentJob, Job updateJob);
search the SQL database for current job and replace it with updateJob
please could you provide me with example code
any help or advice is greatly appreciated