christian wrote:
wohlgemuth wrote:
i think the best way is to write a small application with 10 object and some thousand inserts an compare the time for query,insert,delete,update and make the result public.
This is a useless test and it has been discussed many times why. There is even a thread about it right now.
Yes, of course. I don't know how many times we need to turn blue in the face saying this: performance of ORM data access code depends almost entirely upon avoiding database roundtrips via smart association fetching strategies and caching. A further determining factor of performance is the concurrency (locking) model used in the middle tier and on the database.
Performance does
not depend upon the (very small) overhead added to trivial queries. No data-access intensive application on earth is limited by the speed of processing JDBC ResultSets. They are limited by such things as remote calls, disk access, locking, etc.