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
A. Kittur, B. Suh, and E. Chi. CSCW '08: Proceedings of the ACM 2008 conference on Computer supported cooperative work, page 477--480. New York, NY, USA, ACM, (2008)
T. Adler, and L. de Alfaro. WWW '07: Proceedings of the 16th international conference on World Wide Web, page 261--270. New York, NY, USA, ACM Press, (2007)
H. Keller. Schweizerische Zeitschrift fuer Psychologie, (1988)ID: 2055; DB - PSYNDEXplus Literature and Audiovisual Media; AN: 0031810; RP: NOT IN FILE.