Due to the design of the application server, JMS connections can be closed because the Aged timeout has elapsed, even if JMS sessions created from that connection are involved in a transaction.
由于应用服务器设计的原因,JMS连接可能会因为超过过时超时而关闭,即使从该连接创建的JMS会话涉及一个事务也是如此。
When the script ends or when a connection is about to be closed, if you have an outstanding transaction, PDO will automatically roll it back.
当脚本结束时,或者当一个连接即将被关闭时,如果有一个未完成的事务,那么 PDO 将自动回滚该事务。
That is, the real database connections are closed relatively infrequently, but their pooled proxies are acquired and released with every transaction.
也就是说,真正的数据库连接会相对较少关闭,但它们的池代理则会随着每个事务获取或释放。
应用推荐