|
![]() |
Originally posted by Anil Vupputuri:
Apart from these. How good ORM is at reading/writing blob's?
These queries, usually, take a huge amount of time for a Object-Relational mapping tools.
Another question is. What would you suggest (which ORM environment) for tree based structures stored in database - I am focusing on the performance here.
Originally posted by kelahcim kela:
During Hibernate evaluation I have found that following relation:
Class A [1 - *] Class B
is retrieved following way:
1. Retrieve all objects that meet particular condition
2. For each object from Class A find corresponding objects from Class B
Class A and Class B where mapped to Table A and Table B respectively.
It might be that I have used incorrect form of mapping. Anyway, the efficiency was very low.
I hope I have clarified my case.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Originally posted by Kyle Brown:
Actually, yes, you were doing an incorrect (or at least inefficient) mapping. Hibernate has extensive facilities for making this kind of query much more efficient.
how Hibernate addresses this through the use of the join fetch option
Originally posted by kelahcim kela:
Hello guys,
I have gone through the content of your book briefly and I can see that you focus on few, well known ORMs. In this context, I'd like to ask a question regarding sub-queries and left/right outer joins.
Another question is. What would you suggest (which ORM environment) for tree based structures stored in database - I am focusing on the performance here.
Cheers and thanks in advance for the answers
Michal
Roland Barcia: IBM Distinguished Engineer, CTO Mobile for Lab Services
Originally posted by Anil Vupputuri:
Apart from these. How good ORM is at reading/writing blob's?
Roland Barcia: IBM Distinguished Engineer, CTO Mobile for Lab Services
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|