My Oracle Support Banner

Statement Query Timeout Doesn't Work With Java.security.SecureRandom.nextBytes. (Doc ID 2834000.1)

Last updated on FEBRUARY 24, 2023

Applies to:

JDBC - Version 19.3 and later
Information in this document applies to any platform.

Goal

Statement query timeout by design doesn't apply to the code stack that is calling SecureRandom.getBytes() in the stack provided.

 

java.security.SecureRandom.nextBytes
sun.security.ssl.SSLCipher$T?BlockWriteCipherGenerator$BlockWriteCipher.encrypt
sun.security.ssl.OutputRecord.t?Encrypt
sun.security.ssl.OutputRecord.encrypt
sun.security.ssl.SSLSocketOutputRecord.deliver
sun.security.ssl.SSLSocketImpl$AppOutputStream.write
oracle.net.ns.DataPacket.send
oracle.net.ns.NetOutputStream.flush
oracle.net.ns.NetInputStream.getNextPacket
oracle.net.ns.NetInputStream.read
oracle.net.ns.NetInputStream.read
oracle.net.ns.NetInputStream.read
oracle.jdbc.driver.T?CSocketInputStreamWrapper.readNextPacket
oracle.jdbc.driver.T?CSocketInputStreamWrapper.read
oracle.jdbc.driver.T?CMAREngineStream.unmarshalUB?
oracle.jdbc.driver.T?CTTIfun.receive
oracle.jdbc.driver.T?CTTIfun.doRPC
oracle.jdbc.driver.T?C?Oall.doOALL
oracle.jdbc.driver.T?CCallableStatement.doOall?
oracle.jdbc.driver.T?CCallableStatement.doOall?
oracle.jdbc.driver.T?CCallableStatement.executeForRows
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout
oracle.jdbc.driver.OraclePreparedStatement.executeInternal
oracle.jdbc.driver.T?CCallableStatement.executeInternal
oracle.jdbc.driver.OraclePreparedStatement.execute
oracle.jdbc.driver.OracleCallableStatement.execute
oracle.jdbc.driver.OraclePreparedStatementWrapper.execute

......

 


 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.