Article example = new Article();
example.setId(7);
Query qry = new QueryByIdentity(example);
PersistenceBroker broker = PersistenceBrokerFactory.createPersistenceBroker();
Collection col = broker.getObjectByQuery(qry);
Article example = new Article();
example.setId(7);
Identity xyz = broker.serviceIdentity().buildIdentity(example);
Query qry = new QueryByIdentity(xyz);
Collection col = broker.getObjectByQuery(qry);
Identity xyz = broker.serviceIdentity().buildIdentity(Article.class, new Integer(7));
Collection col = broker.getObjectByIdentity(xyz);
@author Thomas Mahler
@version $Id: QueryByIdentity.java,v 1.9.2.3 2005/12/21 22:27:09 tomdz Exp $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|