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 merge.GitMIT
- Close a Database (303)Database
- Database Transaction ProblemDatabase
- 解決 Git 更新本地衝突:commit your changes or stash them before you can mergeGitMIT
- Git衝突:commit your changes or stash them before you can merge. 解決辦法GitMIT
- 求教:connection.close()與connection = null的區別是什麼?Null
- Git更新本地倉庫及衝突"Commit your changes or stash them before you can merge"解決GitMIT
- Using RMAN Incremental Backups to Roll Forward a Physical Standby DatabaseREMForwardDatabase
- Recover physical standby database after loss of archive log – roll forward(轉)DatabaseHiveForward
- Tasks of a Database Administrator : Roll Out to Additional Hosts (17)Database
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- Flashback transaction 的內容是否須commitMIT
- Can one rename a database user (schema)?Database
- no declaration can be found for element rabbit:connection-factory
- Close the Database by Terminating the Instance (304)Database
- Emily Dickinson的詩歌《My Life Closed Twice Before Its Close》
- Why NHibernate updates DB on commit of read-only transactionMIT
- 12C-ORA-65086: cannot open/close the pluggable databaseDatabase
- OGG Connection test fails with: weblogic.transaction.internal.TimedOutException:AIWebException
- 關於前滾(roll forward)和回滾(roll back)Forward
- 查詢user使用那些roll segment以及等待roll segment
- ORA-25402 transaction must roll back 且無法找到SID來處理的問題
- FileZilla:425 Can't open data connection for transfer of解決辦法
- Duplicating a Database Without Recovery Catalog or Target ConnectionDatabase
- 請高手指點A connection to the database could not be madeDatabase
- ASM Diskgroup Can Not Be Shown When Creating Database With DBCAASMDatabase
- React原始碼解析之Commit第一子階段「before mutation」React原始碼MIT
- Mysql異常刨析:Could not commit JDBC transaction;No operations allowed after statement closedMySqlMITJDBC
- SQLSERVER事務日誌已滿 the transaction log for database 'xx' is fullSQLServerDatabase
- Can Tapes Be Used For RMAN Convert Database (Doc ID 563816.1)Database
- javax.net.ssl.SSLException: closing inbound before receiving peer‘s close_notify的解決辦法JavaException
- CDH5之Unexpected error.Unable to verify database connectionH5ErrorDatabase
- Enabling Database Resident Connection PoolingDatabaseIDE
- Incorrect MEMORY_MAX_TARGET (> Available RAM) Can Lead To Database HangsAIDatabase
- 連線mysql資料庫報:javax.net.ssl.SSLException: closing inbound before receiving peer's close_notifyMySql資料庫JavaException
- use database 切換提示You can turn off this feature to get a quicker startupDatabaseUI
- MySQL "ERROR 1010(HY000):Error dropping database(canMySqlErrorDatabase
- Spring + JTA + JPA + JMSSpring