I see that OraclePreparedStatement executeQuery () demonstrates serialization. That is, I have two queries that I want to run simultaneously with the Oracle database using the same connection. However, OraclePreparedStatement explicitly prohibits concurrent requests.
My question is: Is this serialization a necessary artifact to run both queries on the same connection, or is this configuration?
I tried to set readOnly to true for the duration of the two requests, but they are still being serialized.
source share