hi,
 
this is, i think, kind of the core issue, of several related issues/bug
reports to the list indicating
SQLExceptions being thrown.
 
The getCountQuery method from the BrokerHelper, used within the
persistencebroker implementation,
generates the wrong sql syntax for count queries. It should disregard
settings like the 'set attributes',
or the 'order by'. As it is, it uses these when building the query.
 
This results in wrong SQL syntax and this fault translates into several
related 
bugs (like the now faulty size and fullSize methods of OJBIterator
implementations, and of course the 
getCount method on PersistenceBroker).
 
greetings again,
 
Roger Janssen
iBanx
 


*************************************************************************
The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to  whom it is
addressed.You should not copy, disclose or distribute this communication 
without the authority of iBanx bv. iBanx bv is neither liable for 
the proper and complete transmission of the information has been maintained
nor that the communication is free of viruses, interceptions or interference.

If you are not the intended recipient of this communication please return
the communication to the sender and delete and destroy all copies.

Reply via email to