Re: NoSuchElementException with getIteratorByQuery and getCollectionByQuery
Hi Luis the JDBC driver is 2.0 compliant is a "mm.mysql-2.0.14-bin.jar" for mysql thanks - Original Message - From: "luis barreiro" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Wednesday, February 26, 2003 4:03 PM Subject: RE: NoSuchElementException with getIteratorByQuery and getCollectionByQuery > > > Check that your jdbc driver is JDBC 2.0 compliant; it's mandatory in order > to getIteratorByQuery or getCollectionByQuery works fine. > > > http://objectbridge.sourceforge.net/javadoc/ojb/broker/accesslayer/RsIterato > r.html > > Cheers!! :) > > > > -Mensaje original- > De: Ferran Parra [mailto:[EMAIL PROTECTED] > Enviado el: miƩrcoles 26 de febrero de 2003 16:47 > Para: OJB Users List > Asunto: NoSuchElementException with getIteratorByQuery and > getCollectionByQuery > > > Hi all, > I have an error when accesing a > Iterator iter = broker.getIteratorByQuery(query); > or > Collection aux = broker.getCollectionByQuery(query); > > the error: > java.util.NoSuchElementException > at org.apache.ojb.broker.accesslayer.RsIterator.next(Unknown Source).. > > any idea?? thanks in advanced > > Ferran Parra > Departament de Noves Tecnologies > [EMAIL PROTECTED] > MUBIMEDIA S.L. -- > Mallorca, 275, 1r 2a 08008 > BARCELONA T. (+34) 93 215 21 91 F. (+34) 93 215 41 21 > > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NoSuchElementException with getIteratorByQuery and getCollectionByQuery
Check that your jdbc driver is JDBC 2.0 compliant; it's mandatory in order to getIteratorByQuery or getCollectionByQuery works fine. http://objectbridge.sourceforge.net/javadoc/ojb/broker/accesslayer/RsIterato r.html Cheers!! :) -Mensaje original- De: Ferran Parra [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles 26 de febrero de 2003 16:47 Para: OJB Users List Asunto: NoSuchElementException with getIteratorByQuery and getCollectionByQuery Hi all, I have an error when accesing a Iterator iter = broker.getIteratorByQuery(query); or Collection aux = broker.getCollectionByQuery(query); the error: java.util.NoSuchElementException at org.apache.ojb.broker.accesslayer.RsIterator.next(Unknown Source).. any idea?? thanks in advanced Ferran Parra Departament de Noves Tecnologies [EMAIL PROTECTED] MUBIMEDIA S.L. -- Mallorca, 275, 1r 2a 08008 BARCELONA T. (+34) 93 215 21 91 F. (+34) 93 215 41 21 - 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]
NoSuchElementException with getIteratorByQuery and getCollectionByQuery
Hi all, I have an error when accesing a Iterator iter = broker.getIteratorByQuery(query); or Collection aux = broker.getCollectionByQuery(query); the error: java.util.NoSuchElementException at org.apache.ojb.broker.accesslayer.RsIterator.next(Unknown Source).. any idea?? thanks in advanced Ferran Parra Departament de Noves Tecnologies [EMAIL PROTECTED] MUBIMEDIA S.L. -- Mallorca, 275, 1r 2a 08008 BARCELONA T. (+34) 93 215 21 91 F. (+34) 93 215 41 21 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]