RE: [OJB-developers] RE: RsIterator size()
Brought to you by:
thma
From: Matthew B. <ma...@so...> - 2002-06-09 16:10:50
|
This has been fixed, going to check in today. Not specifically a = platform thing, but rather a driver thing. -----Original Message----- From: Mahler Thomas [mailto:tho...@it...]=20 Sent: Sunday, June 09, 2002 3:29 AM To: 'Matthew Baird'; 'Jakob Braeuchi'; obj...@li... Subject: AW: [OJB-developers] RE: RsIterator size() We can't rely on ResultSet.last() as a number of JDBC Drivers do not = support this properly. So better make this Platform specific. cheers, Thomas > -----Urspr=FCngliche Nachricht----- > Von: Matthew Baird [mailto:ma...@so...] > Gesendet: Samstag, 8. Juni 2002 21:41 > An: 'Jakob Braeuchi'; Matthew Baird; > obj...@li... > Betreff: [OJB-developers] RE: RsIterator size() >=20 >=20 > Any thoughts on what to do with tests that are dependent on=20 > having this > functionality? >=20 > Make them conditional? >=20 > m >=20 > -----Original Message----- > From: Jakob Braeuchi [mailto:jbr...@ho...]=20 > Sent: Saturday, June 08, 2002 12:32 PM > To: Matthew Baird; obj...@li... > Subject: RsIterator size() >=20 > hi, >=20 > i do have a problem with an unsupported method in RsIterator#size(): >=20 > ... > if (m_rsAndStmt.m_rs.last()) > ... >=20 > m_rs.last() is not supported by the hsqldb shipped with ojb: >=20 > [DEFAULT] ERROR: SQL Exception while getting size ROOT: This=20 > function is not > supported > ojb.broker.PersistenceBrokerException: SQL Exception while=20 > 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) >=20 > with mysql it works fine. >=20 > jakob >=20 > _______________________________________________________________ >=20 > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -=20 > http://devcon.sprintpcs.com/adp/index.cfm?source=3Dosdntextlink >=20 > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >=20 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=3Dosdntextlink _______________________________________________ Objectbridge-developers mailing list Obj...@li... https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |