ciberado wrote:
Thanks eoneil & farzad.
I would find interesting to be able to specify the lesser resource intensive isolation level as a default but some times you need a serialized isolation (coded as 8, if I remember it right).
And I would like to continue using hibernate in those cases, without needing to work at connection level.
Any suggestion appreciated ;-)
jv
Is it possible for you to define two data sources each of which has the specific isolation level you want? Then you could use two session factories for each isolation level. However, you will definitely need to use distributed transactions if these two scenarios can be used together.
Farzad-