|Teneo: performance fall of HibernatePersistableEList [message #601351]
||Fri, 19 January 2007 12:27
| Ilya Klyuchnikov
Registered: July 2009
When list is already loaded by eager loading or by subselect fetch |
loading then HibernatePersistableEList isLoaded() method in this case
calls doLoad. doLoad() method begins transaction and commit transaction
when there is no need for it.
I have profiled my eclipse application:
HibernatePersistableEList.doLoad was called 455 times and cumulative
time was 91 secs.
JDBCTransaction was called 456 and cumulative time was 76 secs.
The first transaction is initial loading and the next transactions are
not needed at all.
So my application looses many idle time.
Is it possible not to begin and commit transaction in
HibernatePersistableEList when list is already loaded?
Powered by FUDForum
. Page generated in 0.02183 seconds