[OJB-developers] RE: RsIterator size()
Brought to you by:
thma
From: Matthew B. <ma...@so...> - 2002-06-08 19:40:17
|
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 |