trmm333 wrote:
I am not controlling the sesssions. The following method that I am using to access OR layer is facilitated by Spring. From what I read about
Springs DAO support, it closes sessions after every transaction.
You should check your configuration about this. Verify that Spring gives you a new session each time (displaying its address, e.g.) and verify it begins a transaction and commit it each time. I had had some problems with this, mainly due to my poor spring knowlegde.
From your user point of view, what is a transaction ? Is this a dao method call, or do you have an upper layer which can call more than one dao method so to coordinate everything ?
I suppose you're using such class as TransactionProxyFactoryBean to demarcate your tx automatically ?