リソースの参照がはずれている場合
JDBCコネクションへのリソース参照定義がうまくいってなく
そのときの分離レベルが TRANSACTION_NONEになっていた。
自分のトランザクションが自滅している可能性もある。
03/07/09 11:51:43:878 JST] 1db2b2 ConnectionFac I J2CA0122I: リソース参照 jdbc/N00GNpn00z01d
が見つかりませんでした。そのため、次のデフォルト値が使用されます: [Resource-ref settings]
res-auth: 1 (APPLICATION)
res-isolation-level: 0 (TRANSACTION_NONE)
res-sharing-scope: true (SHAREABLE)
res-resolution-control: 999 (undefined)
[Other attributes]
isCMP1_x: false (not CMP1.x)
isJMS: false (not JMS)
[03/07/09 11:52:05:852 JST] 1db2b2 WebGroup I SRVE0180I: [N00WPzeus2] [/ZEUS2_Web]
http://publib7b.boulder.ibm.com/wasinfo1/en/info/aes/javadoc/ae/com/ibm/websphere/rsadapter/JDBCConnectionSpec.html
setTransactionIsolation
public void setTransactionIsolation(int isolationLevel)Set the transaction isolation level. Any isolation level constant from the java.sql.Connection interface may be used, provided the backend supports it.
If a value of TRANSACTION_NONE is specified, then the value specified in the res-ref will be used. If this value is also TRANSACTION_NONE or not specified, then the WebSphere default isolation level, specified in the DataStoreHelper, will be used.
The WebSphere default values are:
CloudScape: REPEATABLE READ
DB2: REPEATABLE READ <<<<< これ!
DB2/AS400: REPEATABLE READ
Informix: REPEATABLE READ
MSSQLServer/ConnectJDBC: REPEATABLE READ
MSSQLServer/SequeLink: REPEATABLE READ
Oracle: READ COMMITTED
Sybase: REPEATABLE READ
Unsupported databases: READ COMMITTED
Parameters:
isolationLevel - the isolation level.
RRに設定される。
End of FILE.
2003/07/09,28
ugya@lycos.com