see this: ttp://www.hibernate.org/hib_docs/v3/reference/en/html/ transactions.html#transactions-basics-issues (whole thing actualy) and decide for your case...
> Hi Guys, > > I have a web application wherein ORM session object is created per > HTTP request and flushed before sending the response back to the > client. > > I was wondering which one is a better practice.. the one mentioned > above or creating new session and flushing the same wherever > required in the business logic ? > > Answers appreciated. > > - Arun --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
