[OJB-developers] Re: RsIterator size()
Brought to you by:
thma
From: Jakob B. <jbr...@ho...> - 2002-06-08 19:59:29
|
hi matthew, i haven't tested ms-access but i expect it to fail too :( jakob ----- Original Message ----- From: "Matthew Baird" <ma...@so...> To: "'Jakob Braeuchi'" <jbr...@ho...>; "Matthew Baird" <ma...@so...>; <obj...@li...> Sent: Saturday, June 08, 2002 9:40 PM Subject: RE: RsIterator size() > Any thoughts on what to do with tests that are dependent on having this > functionality? > > Make them conditional? > > m > > -----Original Message----- > From: Jakob Braeuchi [mailto:jbr...@ho...] > Sent: Saturday, June 08, 2002 12:32 PM > To: Matthew Baird; obj...@li... > Subject: RsIterator size() > > hi, > > i do have a problem with an unsupported method in RsIterator#size(): > > ... > if (m_rsAndStmt.m_rs.last()) > ... > > m_rs.last() is not supported by the hsqldb shipped with ojb: > > [DEFAULT] ERROR: SQL Exception while getting size ROOT: This function is not > supported > ojb.broker.PersistenceBrokerException: SQL Exception while getting size > ROOT: This function is not supported > at ojb.broker.accesslayer.RsIterator.size(RsIterator.java:352) > at > ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBr > okerImpl.java:901) > > with mysql it works fine. > > jakob > |