@Jelle Thanks for replying. We are using a same connection instance. The connection is stored as a
thread local object and is acquired by the data access layer.
@Jan Thanks for the advice. To clarify if I set the isolation level to READ_UNCOMMITTED, my select query will return the output before commit is called. So if my insert operation is rolled back, then the select query will not return anything. On the other hand, if once commit is executed, the insert operation changes are persisted into the database. Have I understood this correctly?