WebObjects/EOF/Using EOF/Configuration Settings

(true for WO5) turns on Adaptor logging. This gives you the SQL statements that are issued against your database.
 * -EOAdaptorDebugEnabled YES/NO

(false for WO5) (this one is quite hidden in the docs) Turns off bind variables on the SQL statements, making SQL much more readable when debugging.
 * -EOAdaptorUseBindVariables YES/NO