can close the database Connection before the JTA transaction commit or roll
hi, all
can close the database Connection before the JTA transaction commit or rollback?
my understanding:
if the connection not come from connection pool. i think this must be a issue, but if Connection come from pool, the close method just return it to pool, but due to multithread environment, the connection maybe can be used immediately by another thread, but the the previous transaction still not commit or rollback, but the connection aleady service for other service(maybe into another transaction), i think
this will produce an unexpected result.
i can't confirm my understanding, i aleady be confused , please help me!
thanks
regards
can close the database Connection before the JTA transaction commit or rollback?
my understanding:
if the connection not come from connection pool. i think this must be a issue, but if Connection come from pool, the close method just return it to pool, but due to multithread environment, the connection maybe can be used immediately by another thread, but the the previous transaction still not commit or rollback, but the connection aleady service for other service(maybe into another transaction), i think
this will produce an unexpected result.
i can't confirm my understanding, i aleady be confused , please help me!
thanks
regards
相關文章
- 解決 Git 更新本地衝突:commit your changes or stash them before you can mergeGitMIT
- Element UI 元件 Dialog 中 before-close 與 close 的區別UI元件
- Git更新本地倉庫及衝突"Commit your changes or stash them before you can merge"解決GitMIT
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- OGG Connection test fails with: weblogic.transaction.internal.TimedOutException:AIWebException
- no declaration can be found for element rabbit:connection-factory
- SQL1116N A connection to or activation of database "TESTDB" cannot be madeSQLDatabase
- SQLSERVER事務日誌已滿 the transaction log for database 'xx' is fullSQLServerDatabase
- React原始碼解析之Commit第一子階段「before mutation」React原始碼MIT
- Incorrect MEMORY_MAX_TARGET (> Available RAM) Can Lead To Database HangsAIDatabase
- Mysql異常刨析:Could not commit JDBC transaction;No operations allowed after statement closedMySqlMITJDBC
- FileZilla:425 Can't open data connection for transfer of解決辦法
- JTA和JTS
- Bug 12725963 - New database connection fails with ORA-12541 after vip failoverDatabaseAI
- Error establishing a database connection 的解決方法(發現黑客入侵)ErrorDatabase黑客
- javax.net.ssl.SSLException: closing inbound before receiving peer‘s close_notify的解決辦法JavaException
- use database 切換提示You can turn off this feature to get a quicker startupDatabaseUI
- 連線mysql資料庫報:javax.net.ssl.SSLException: closing inbound before receiving peer's close_notifyMySql資料庫JavaException
- ORA-02062: distributed recovery 引起的 ORA-02019: connection description for remote database not foundREMDatabase
- Tomcat DBCP(Database Connection Pool) 資料庫連線池入門介紹TomcatDatabase資料庫
- GTID複製報錯處理:Last_Error: Error 'Can't drop database 'test';ASTErrorDatabase
- Golang CLOSE WAIT 分析GolangAI
- MySQL:Innodb DB_ROLL_PTR指標解析MySql指標
- 人大金倉資料庫kingbase備份時老是提示sys_dump: error: connection to database or services資料庫ErrorDatabase
- nacos Connection refused (Connection refused)
- git commit後如何取消commitGitMIT
- tcp的half-closeTCP
- open和close函式函式
- [CSS] 偽元素和偽類,::before 和 :before 區別CSS
- Database Connection Pool 資料庫連線池-01-概覽及簡單手寫實現Database資料庫
- IDBObjectStore.transactionObject
- IDBDatabase.transaction()Database
- BTC的Transaction
- Connection
- curl 用完千萬別忘 close !
- Git commit 之後,想撤銷 commitGitMIT
- socket close和shutdown的區別,TIME_WAIT和CLOSE_WAIT,SO_REUSEADDRAI
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST
- java.net.ConnectException: Connection refused (Connection refused)JavaException