B.3.4. Limitations of Oracle 11g

In Oracle 11g R2 (both RAC and standalone), a complex query with LockMode.UPGRADE (ie: "for update") may cause a "No more data to read from socket" error. The workaround is to not use LockMode.UPGRADE on such queries. See Oracle bug number 9219636 for more details.