Didn't find anything about this in the tutorials, but it's probably quite simple:
Say I do this: Person example = new Person(); example.setId(1); // id is primary key Query query = new QueryByCriteria(example); Person per = (Person)broker.getObjectByQuery(query); And then, at some later point, I do this: Person example2 = new Person(); example2.setId(1); // id is primary key Query query2 = new QueryByCriteria(example2); Person per2 = (Person)broker.getObjectByQuery(query2); At this point, will (per == per2)? A few simple tests indicate that this is the case, but can I rely on it? If not, under which circumstances will I get (per != per2) from this? -- Henrik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
