I am using a Seam Managed Entity Manager for a JTA datasource with the Flush mode set to manual for business use cases, in Seam conversations.
I was just wondering when does Seam actually get a JDBC connection?
1. At the beginning of web request?
2. As soon as EntityManager operations are performed?
3. When flush is invoked by the Application?
The reason why I ask is because I am wondering how this approach will scale. I need to know how long the conversation will hang onto the connection.
The connection handling is done by the application server (normally) or the jpa provider, not Seam.