code: public void setReadOnly(WSRdbManagedConnectionImpl managedConn, boolean readOnly, boolean externalCall)
                      throws SQLException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(this, tc, "setReadOnly", managedConn, readOnly, externalCall);
          managedConn.setReadOnly(readOnly);
      }
docs: <p>This method is used to do special handling for readOnly when method setReadOnly is called.</p>
  
  @param managedConn WSRdbManagedConnectionImpl object
  @param readOnly The readOnly value going to be set
  @param externalCall indicates if the call is done by WAS, or by the user application.