[ojb-users] Does getCollectionByQuery() with QueryByExample argument works?
Brought to you by:
thma
From: <Ste...@eu...> - 2002-06-04 15:50:40
|
What I do wrong? I call find() method with persistant object with id attribute (primary key) set only (all other attributes are null or 0). There is no unittest with such functionality. public Collection find(Object object) { Query query = new QueryByExample(object); return broker.getCollectionByQuery(query); } It returns collection of all objects from DB. Tnx Stefan P.S. I have ojb 0.9 |