Record not found Scaffold - With Oracle Developer Tools

Create a scaffold with developer tools, but to edit or delete tells me that the record is not found but if the primary key is correct. The message is "SPM_REFERENCIA was not found" and my controller is so