📄 checkdatasource30.out
字号:
getFetchDirection() REVERSE getFetchSize() 999 getMaxFieldSize() 137 getMaxRows() 85 getResultSetHoldability() HOLD_CURSORS_OVER_COMMIT Parameter Count 2 1 type 12 2 type 12Params-local-2: ru(params) contents {3}LOCK TABLE xid row 0 lock count 14 xid row 1 lock count 14END LOCK TABLEsru1-local-8: ru(SN1) contents {1} {2} {3}sru2-local-9: ru(OAK2) contents {1} {2} {3}sru3-local-10: ru(SF3) contents {1} {2} {3}Statement State @ LOCAL 2 getResultSetType() SCROLL_INSENSITIVE getResultSetConcurrency() READ_ONLY getFetchDirection() REVERSE getFetchSize() 444 getMaxFieldSize() 713 getMaxRows() 19 getResultSetHoldability() HOLD_CURSORS_OVER_COMMIT Statement State @ PS LOCAL 2 getResultSetType() SCROLL_INSENSITIVE getResultSetConcurrency() READ_ONLY getFetchDirection() REVERSE getFetchSize() 888 getMaxFieldSize() 317 getMaxRows() 91 getResultSetHoldability() HOLD_CURSORS_OVER_COMMIT Parameter Count 1 1 type 4Statement State @ CS LOCAL 2 getResultSetType() SCROLL_INSENSITIVE getResultSetConcurrency() READ_ONLY getFetchDirection() REVERSE getFetchSize() 999 getMaxFieldSize() 137 getMaxRows() 85 getResultSetHoldability() HOLD_CURSORS_OVER_COMMIT Parameter Count 2 1 type 12 2 type 12LOCK TABLE xid row 0 lock count 14 xid row 1 lock count 12END LOCK TABLEsruBatch update counts : 1 1 2 1 :sruBatch: ru(null) contents {1} {2} {3} {4} {5} {6} {7} {8}XAConnection.getXAResource : No current connection.XAConnection.getConnection : No current connection.XAResource.start : XAException - No current connection.ERROR 08003: No current connection.XAResource.end : XAException - No current connection.ERROR 08003: No current connection.XAResource.commit : XAException - No current connection.ERROR 08003: No current connection.XAResource.prepare : XAException - No current connection.ERROR 08003: No current connection.XAResource.recover : XAException - No current connection.ERROR 08003: No current connection.XAResource.prepare : XAException - No current connection.ERROR 08003: No current connection.XAResource.isSameRM : XAException - No current connection.ERROR 08003: No current connection.Patricio update count 1conn4 autcommit trueacxs 1acxs 2autocommitxastart expected No current connection.acxs 1acxs 2autocommitxastart expected : XAException - nullExpected XA error code: -9acxs 3testing jira 95 for DataSource; ok - expected exception: XCY00testing jira 95 for XADataSource; ok - expected exception: XCY00DataSource - EMPTY getConnection() - XJ004:Database '' not found. getConnection(null, null) - XJ004:Database '' not found. getConnection(fred, null) - XJ004:Database '' not found. getConnection(fred, wilma) - XJ004:Database '' not found. getConnection(null, wilma) - XJ004:Database '' not found. getConnection(null, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.DataSource - connectionAttributes=databaseName=wombat getConnection() - XJ004:Database '' not found. getConnection(null, null) - XJ004:Database '' not found. getConnection(fred, null) - XJ004:Database '' not found. getConnection(fred, wilma) - XJ004:Database '' not found. getConnection(null, wilma) - XJ004:Database '' not found. getConnection(null, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.DataSource - attributesAsPassword=true getConnection() - XJ004:Database '' not found. getConnection(null, null) - XJ004:Database '' not found. getConnection(fred, null) - XJ004:Database '' not found. getConnection(fred, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getConnection(null, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getConnection(null, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.DataSource - attributesAsPassword=true, connectionAttributes=databaseName=kangaroo getConnection() - XJ004:Database '' not found. getConnection(null, null) - XJ004:Database '' not found. getConnection(fred, null) - XJ004:Database '' not found. getConnection(fred, wilma) - XJ028:The URL 'jdbc:derby: ;databaseName=kangaroo;wilma' is not properly formed. getConnection(null, wilma) - XJ028:The URL 'jdbc:derby: ;databaseName=kangaroo;wilma' is not properly formed. getConnection(null, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.Enable Authentication08006:Database 'wombat' shutdown.AUTHENTICATION NOW ENABLEDDataSource - attributesAsPassword=true getConnection() - XJ004:Database '' not found. getConnection(null, null) - XJ004:Database '' not found. getConnection(fred, null) - XJ004:Database '' not found. getConnection(fred, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getConnection(null, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getConnection(null, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.DataSource - attributesAsPassword=true, user=fred, password=databaseName=wombat;password=wilma getConnection() - XJ004:Database '' not found. getConnection(null, null) - XJ004:Database '' not found. getConnection(fred, null) - XJ004:Database '' not found. getConnection(fred, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getConnection(null, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getConnection(null, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.ConnectionPoolDataSource - EMPTY getPooledConnection() - XJ004:Database '' not found. getPooledConnection(null, null) - XJ004:Database '' not found. getPooledConnection(fred, null) - XJ004:Database '' not found. getPooledConnection(fred, wilma) - XJ004:Database '' not found. getPooledConnection(null, wilma) - XJ004:Database '' not found. getPooledConnection(null, databaseName=wombat) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.ConnectionPoolDataSource - connectionAttributes=databaseName=wombat getPooledConnection() - XJ004:Database '' not found. getPooledConnection(null, null) - XJ004:Database '' not found. getPooledConnection(fred, null) - XJ004:Database '' not found. getPooledConnection(fred, wilma) - XJ004:Database '' not found. getPooledConnection(null, wilma) - XJ004:Database '' not found. getPooledConnection(null, databaseName=wombat) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.ConnectionPoolDataSource - attributesAsPassword=true getPooledConnection() - XJ004:Database '' not found. getPooledConnection(null, null) - XJ004:Database '' not found. getPooledConnection(fred, null) - XJ004:Database '' not found. getPooledConnection(fred, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getPooledConnection(null, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getPooledConnection(null, databaseName=wombat) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.ConnectionPoolDataSource - attributesAsPassword=true, user=fred, password=databaseName=wombat;password=wilma getPooledConnection() - XJ004:Database '' not found. getPooledConnection(null, null) - XJ004:Database '' not found. getPooledConnection(fred, null) - XJ004:Database '' not found. getPooledConnection(fred, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getPooledConnection(null, wilma) - XJ028:The URL 'jdbc:derby: ;wilma' is not properly formed. getPooledConnection(null, databaseName=wombat) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat;password=wilma) - XJ004:Database '' not found. getPooledConnection(fred, databaseName=wombat;password=betty) - XJ004:Database '' not found.XADataSource - EMPTY getXAConnection() - 08006:Database not available getXAConnection(null, null) - 08006:Database not available getXAConnection(fred, null) - 08006:Database not available getXAConnection(fred, wilma) - 08006:Database not available getXAConnection(null, wilma) - 08006:Database not available getXAConnection(null, databaseName=wombat) - 08006:Database not available getXAConnection(fred, databaseName=wombat) - 08006:Database not available getXAConnection(fred, databaseName=wombat;password=wilma) - 08006:Database not available getXAConnection(fred, databaseName=wombat;password=betty) - 08006:Database not availableXADataSource - databaseName=wombat getXAConnection() - 08004:Connection refused : Invalid authentication. getXAConnection(null, null) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, null) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, wilma) - OK getXAConnection(null, wilma) - 08004:Connection refused : Invalid authentication. getXAConnection(null, databaseName=wombat) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, databaseName=wombat) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, databaseName=wombat;password=wilma) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, databaseName=wombat;password=betty) - 08004:Connection refused : Invalid authentication.XADataSource - connectionAttributes=databaseName=wombat getXAConnection() - 08006:Database not available getXAConnection(null, null) - 08006:Database not available getXAConnection(fred, null) - 08006:Database not available getXAConnection(fred, wilma) - 08006:Database not available getXAConnection(null, wilma) - 08006:Database not available getXAConnection(null, databaseName=wombat) - 08006:Database not available getXAConnection(fred, databaseName=wombat) - 08006:Database not available getXAConnection(fred, databaseName=wombat;password=wilma) - 08006:Database not available getXAConnection(fred, databaseName=wombat;password=betty) - 08006:Database not availableXADataSource - attributesAsPassword=true getXAConnection() - 08006:Database not available getXAConnection(null, null) - 08006:Database not available getXAConnection(fred, null) - 08006:Database not available getXAConnection(fred, wilma) - 08006:Database not available getXAConnection(null, wilma) - 08006:Database not available getXAConnection(null, databaseName=wombat) - 08006:Database not available getXAConnection(fred, databaseName=wombat) - 08006:Database not available getXAConnection(fred, databaseName=wombat;password=wilma) - 08006:Database not available getXAConnection(fred, databaseName=wombat;password=betty) - 08006:Database not availableXADataSource - databaseName=wombat, attributesAsPassword=true getXAConnection() - 08004:Connection refused : Invalid authentication. getXAConnection(null, null) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, null) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, wilma) - XJ028:The URL 'jdbc:derby:wombat;wilma' is not properly formed. getXAConnection(null, wilma) - XJ028:The URL 'jdbc:derby:wombat;wilma' is not properly formed. getXAConnection(null, databaseName=wombat) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, databaseName=wombat) - 08004:Connection refused : Invalid authentication. getXAConnection(fred, databaseName=wombat;password=wilma) - OK getXAConnection(fred, databaseName=wombat;password=betty) - 08004:Connection refused : Invalid authentication.START XA HOLDABILITY TESTBy default, autocommit is true for a connectionDefault holdability for a connection is HOLD_CURSORS_OVER_COMMITCONNECTION(not in xa transaction yet) HOLDABILITY trueNotice that autocommit now is false for connection because it is part of the global transactionNotice that connection's holdability at this point is CLOSE_CURSORS_AT_COMMIT because it is part of the global transactionCONNECTION(in xa transaction) HOLDABILITY falseCONNECTION(in xa transaction) HOLDABILITY falseAutocommit on Connection inside global transaction has been set correctly to falseCONNECTION(non-xa) HOLDABILITY falseSTATEMENT HOLDABILITY falseSTATEMENT HOLDABILITY falseSTATEMENT HOLDABILITY truePREPARED STATEMENT HOLDABILITY trueCALLABLE STATEMENT HOLDABILITY trueH@1 id 1H@2 id 2H@3 id 3CONNECTION(xa) HOLDABILITY falseSTATEMENT(this one was created with holdability false, outside the global transaction. Check it's holdability inside global transaction) HOLDABILITY falseSTATEMENT(this one was created with holdability true, outside the global transaction. Check it's holdability inside global transaction) HOLDABILITY falseSTATEMENT(this one was created with default holdability inside this global transaction. Check it's holdability) HOLDABILITY falsePREPAREDSTATEMENT(this one was created with default holdability inside this global transaction. Check it's holdability) HOLDABILITY falseCALLABLESTATEMENT(this one was created with default holdability inside this global transaction. Check it's holdability) HOLDABILITY falseX@1 id 1X@2 id 2Expected SQLException No current connection.Expected SQLException No current connection.resume XA transaction and keep using rsCheck holdability of various jdbc objects after resuming XA transactionCONNECTION(xa) HOLDABILITY falseSTATEMENT(this one was created with holdability false, outside the global transaction. Check it's holdability inside global transaction) HOLDABILITY falseSTATEMENT(this one was created with holdability true, outside the global transaction. Check it's holdability inside global transaction) HOLDABILITY falseSTATEMENT(this one was created with default holdability inside the global transaction when it was first started. Check it's holdability) HOLDABILITY falsePREPAREDSTATEMENT(this one was created with default holdability inside the global transaction when it was first started. Check it's holdability) HOLDABILITY falseCALLABLESTATEMENT(this one was created with default holdability inside the global transaction when it was first started. Check it's holdability) HOLDABILITY falseSTATEMENT(this one was created with default holdability after the global transaction was resumed. Check it's holdability) HOLDABILITY falsePREPAREDSTATEMENT(this one was created with default holdability after the global transaction was resumed. Check it's holdability) HOLDABILITY falseCALLABLESTATEMENT(this one was created with default holdability after the global transaction was resumed. Check it's holdability) HOLDABILITY falseX@3 id 3Expected SQLException ResultSet not open. Operation 'next' not permitted. Verify that autocommit is OFF.Expected SQLException ResultSet not open. Operation 'next' not permitted. Verify that autocommit is OFF.Set connection to hold CONNECTION(held) HOLDABILITY trueCONNECTION(xa) HOLDABILITY falseExpected SQLException(setHoldability) Cannot set holdability ResultSet.HOLD_CURSORS_OVER_COMMIT for a global transaction.HOLDABLE Statement in global xact false connection warning ResultSetHoldability restricted to ResultSet.CLOSE_CURSORS_AT_COMMIT for a global transaction.HOLDABLE PreparedStatement in global xact false connection warning ResultSetHoldability restricted to ResultSet.CLOSE_CURSORS_AT_COMMIT for a global transaction.HOLDABLE CallableStatement in global xact false connection warning ResultSetHoldability restricted to ResultSet.CLOSE_CURSORS_AT_COMMIT for a global transaction.STATEMENT HOLDABILITY falsePREPARED STATEMENT HOLDABILITY falseCALLABLE STATEMENT HOLDABILITY falseCONNECTION(held) HOLDABILITY truePASS XA HOLDABILITY TEST**Test holdability state for: PooledConnection **PASS: Holdability matches expected holdability:HOLD_CURSORS_OVER_COMMIT** Test autoCommit state for: PooledConnection**PASS: autoCommit reset on getConnectiondone creating table*** Test isolation level reset on PooledConnection.getConnection()***setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTEDPASS: No lock timeout occurs for READ_UNCOMMITTEDGet a new connection with PooledConnection.getConnection()Isolation level should be reset to READ_COMMITTEDPASS: Expected lock timeout for READ_COMMITTEDdone creating table*** Test isolation level reset on XAConnection.getConnection()***setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTEDPASS: No lock timeout occurs for READ_UNCOMMITTEDGet a new connection with XAConnection.getConnection()Isolation level should be reset to READ_COMMITTEDPASS: Expected lock timeout for READ_COMMITTEDCompleted checkDataSource30
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -