db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kal?n <martin.ka...@curalia.se>
Subject [OJB] Issue #OJB109 modified
Date Mon, 23 Feb 2004 20:17:22 GMT
You can view the issue detail at the following URL:

    http://nagoya.apache.org/scarab/issues/id/OJB109

Type
 Defect

Issue ID
 OJB109 (BUG: OJB hangs in recursive loop : stackoverflow)

Modified by
 Martin Kalén
 martin.kalen@curalia.se (martin.kalen@curalia.se)

The following modifications were made to this issue:
---------------------------------------------------------------------

Status changed from "New" to "Closed"
Resolution set to "Invalid"

Reason:
This problem is definately obsoleted and is confirmed to not be present in OJB1.0RC from CVS
as of 2004-02-23.

The pseudocode has to be tweaked to add crit2 unambigously with "addAndCriteria". Ie:
Criteria crit = new Criteria();
crit.addEqualTo(attr1, X);
Criteria crit2 = new Criteria();
crit2.addEqualTo(attr2, Y1);
Criteria crit3 = new Criteria();
crit3.addEqualTo(attr2, Y2);
Criteria crit4 = new Criteria();
crit4.addEqualTo(attr2, Y3);
crit2.addOrCriteria(crit3);
crit2.addOrCriteria(crit4);
crit.addAndCriteria(crit2);

There is no problem in executing a query like:
Query q = QueryFactory.newQuery(clazz, crit);
Object o = broker.getObjectByQuery(q);


---------------------------------------------------------------------
This message is automatically generated by the Scarab
issue tracking system.  For more information:
http://scarab.tigris.org/



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message