In order to trace the SQL in the Jdev log window, these param need to be set:
In Jdev -> Project Properties -> Run/Debug/Profile -> Edit "Default" -> Launch Settings
Virtual Machine: Server
Java Options: [-DLWSSESSIONCONTEXT=oracle.apps.fnd.applcore.common.ApplSessionManagement] -Djbo.debugoutput=console -Doracle.adfm.usemds=true -DAFLOG_ECHOED=Y -DAFLOG_LEVEL=FINEST
Then add Jdev's log lines:
Jdev -> Tools -> Preferences... -> Environment -> Log ,
Set Maximum Log Lines: 30000