Hi,
Done a bit of research on my own and haven't found anything addressing the follow situation.
I have an application that runs on several separate machines, each being it's own separate and independent instance, all having session factories to the same database. I'd like to ensure that all db operations are written to the db asap so that other instances don't get stale data. I understand from the manual that flushing the session does this, but it mentions that unless you explicitly call flush, there's no guarantee when this happens.
Using Spring to get the session factory, an instance of org.springframework.orm.hibernate3.LocalSessionFactoryBean . Also using Spring to get the transaction manager, an instance of org.springframework.orm.hibernate3.HibernateTransactionManager .
Thanks in advance.
-Scott
|