Re: EnhancedOQLQuery and Query
> 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]
Re: EnhancedOQLQuery and Query
> You should direct questions regarding OJB to our user mailing list. A day before I posted this message to ojb user list, but it was forgotten. > So if you don't want to mix OqlQuery and EnhancedOQLQuery then you should > simply use EnhancedOQLQuery always! I mean I want to use iterator with EnhancedOQLQuery. My question was is it possible to add new functionality (iterator) to EnhancedOQLQuery? And what do developers think about it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Question to developers: 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. If I'm right, the implementation of EnhancedOQLQuery is based on Query. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NullPointerException with OQL query
I've just made mistprint in class name while typing OQL query and got NullPointerException. imho it has to be another exception instead of NullPointerException. best regards, Anton Komratov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
versioning and OJB
Are there any thoughts how to implement versioning using OJB? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]