Hi everybody,
Reading through some threads on this forum I have found out that people from the Hibernate Team state the following:
Quote:
You should always use transactions, even when only reading data.
Ofcourse I understand the need for transactions when i'm updating persistent data, it's the read-only case that's troubling me :-)
Can anyone explain to me why I should use a transaction in a read-only databaseaction? Is the reason related to *other* databaseactions that are done within the lifetime of the same hibernate-session?
regards,
Hans