> So if you don't want to mix OqlQuery and EnhancedOQLQuery then you should > simply use EnhancedOQLQuery always!
You understood me wrong. I'm working with OJB through JCA, and OTMConnection is only thing I can get from JCAKit object. >From OTMConnection I can get only: 1) org.apache.ojb.broker.query.Query; 2) org.apache.ojb.odmg.oql.EnhancedOQLQuery. I'd like to work only with org.apache.ojb.odmg.oql.EnhancedOQLQuery and I want to avoid using org.apache.ojb.broker.query.Query. But in some cases I need to get Iterator from EnhancedOQLQuery (not Collection at once). My question: is it possible to add Iterator to org.apache.ojb.odmg.oql.EnhancedOQLQuery? > -----Original Message----- > From: Anton Komratov [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2003 6:04 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: EnhancedOQLQuery and Query > > > Is it possible to combine functionality of EnhancedOQLQuery and Query? > > > > I want to choose whether I need to get collection or iterator as a result of > OQL query. I want to use OQL as a basis to look up my objects, but some time > I need iterator. And I don't want to mix use of EnhancedOQLQuery and Query > in my code. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
