I have never seen divide by zero errors from OJB =(
Also, do you get the same problem if you try the query via the PersistenceBroker api instead of the JDO api?
-Brian
On Apr 7, 2004, at 5:44 AM, Mike Ahlers wrote:
Hi,
I am a new kid on the block and work with the OJB/JDO block. Using a database with no relations works perfectly, however when I increase complexity and use foreign keys I fail to get it working. The following error is what I get:
[org.apache.ojb.broker.accesslayer.RsIterator] ERROR: Error while iterate Result Set for query org.apache.ojb.broker.accesslayer.RsQueryObject[query: Query from class nl.hippo.nvpt.Articles where [id = 55], class descriptor: nl.hippo.nvpt.Ar
ticles]
/ by zero java.lang.ArithmeticException: / by zero
Can anybody explain why iterating over a result-set gives a div by zero?
Thanks in advance, Mike Ahlers