Experience > proof. There are many such apps in existence using hibernate, they don't worry about it.
The few extra microsecnds spent converting result sets into objects will be offset by the fact that the generated queries are better than the ones you'd write yourself, and by the fact that hibernate won't fetch objects that you don't need.
When writing apps that access the DB, don't forget that optimization always comes after you've found a bottleneck, not before. Don't worry about it, it'll be faster than you think, and likely faster than if you did it youself (unless you're as good at designing queries as the hibernate team are).
_________________ Code tags are your friend. Know them and use them.
|