When Hibernate loads an object into a Session it creates a state snapshot of the current database state of the object, so that it can perform dirty checking against the snapshot.
As a read only object will never be modified, this snapshot is not needed and memory can be saved.
It is not a JDBC driver error but a configuration needed for Oracle database instance running inside a Docker container.
You need to change $ORACLE_HOME/network/admin/sqlnet.ora append DISABLE_OOB=ON at end of file
F. Arzarello. the 24th Conference of the International Group for the Psychology of Mathematics Education (PME), 1, стр. 23--38. Hiroshima, Japan, (2000)