Hibernate version: 2.1.7c
I donot have much experience with clustering and hibernate together. And our deployment guy is complaining that it might not work with clustering.
I have tried to follow the book hibernate in action. While reading the book Hibernate in Action, it mentions that we can have as many actual instances of SessionFactory deployed as we like, if we are not using second level cache. This approach is cluster-safe.
Do we need to worry about clustering:
Our application uses hibernate for only to do insert-updates and does not need any cache. Running an instance of SessionFactory per VM/tomcat instance poses any problem?
In our case we do not have scenarios where the transaction spreads across multiple pages, any database transaction is located in one user action itself.
Currently the code looks much cleaner with hibernate and I donot want to change it.
Any input will be much appreciated.
TIA
girirx
|