db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@hotmail.com>
Subject [OJB] Issue #OJB149 modified
Date Wed, 26 Mar 2003 21:08:10 GMT

Issue OJB149 has just been modified by user brj

You can view the issue detail at the following URL:
     <http://scarab.werken.com/scarab/issues/id/OJB149>

The following modifications were made to this issue:

could not verify the problem. sample code below produces the following sql

SELECT isBoss,gebDat,idTest,entryDate,adresse,idPartner,name,test,vorname,id FROM tabPerson
WHERE id = '1' 


Query query;
Identity id;
Person sample, p;

broker.clearCache();
        
System.out.println("\nread one person by id");
sample = new Person();
sample.setId(new Integer(1));
id = new Identity(sample, broker);

query = QueryFactory.newQuery(id);
p = (Person)broker.getObjectByQuery(query);
  




Mime
View raw message