Re: Performance difference between mapping number column to long vs BigDecimal

2004-01-28 Thread Martin Kalén
ZZZ Liu wrote: I am trying to know the performance difference between mapping number column to long vs BigDecimal. I did following test. Just as a side note and not a direct answer to your question: the OJB performance will be very dependent on the RDBMS performance, especially when running

Performance difference between mapping number column to long vs BigDecimal

2004-01-27 Thread ZZZ Liu
Hi, all I am trying to know the performance difference between mapping number column to long vs BigDecimal. I did following test. 1) I loaded over 200k records in the table. 2) I ran a test to retrieve all records in the table as an iterator and then loop over the iterator to get each element