Next time I'll check my logic more thoroughly. :|
> -----Original Message----- > From: Gareth Cronin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 10 October 2002 11:10 a.m. > To: 'OJB Users List' > Subject: Extent causing getCollectionByQuery to return duplicates > > > Java classes: > TransitInterval extends TimeInterval. > CargoUnit has a reference to a TransitInterval. > > Repository XML: > TimeInterval has an extent element referencing TransitInterval > CargoUnit has a reference descriptor pointing at > TransitInterval with auto > update, delete and retrieve all set to true. > > Problem: > When I do a broker.getCollectionByQuery() on the CargoUnit > class with an > empty Criteria, I get two copies of every CargoUnit object, > one with a null > transit interval and one without. > > The data in the tables is fine... all the store() operations worked > successfully. > > Have I done something wrong in the gui.xml? > > --------------------------------------------- > Gareth Cronin > Analyst/Programmer > Kiwiplan NZ Ltd: http://www.kiwiplan.com > Ph (64 9) 2727622 x854 > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
