Teneo: performance fall of HibernatePersistableEList [message #601351] |
Fri, 19 January 2007 12:27 |
Ilya Klyuchnikov Messages: 74 Registered: July 2009 |
Member |
|
|
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?
Thanks.
Ilya.
|
|
|
Powered by
FUDForum. Page generated in 0.03112 seconds