[JDev 12.1.3]
I have created an EntityObject in the Model project and assigned a DB sequence to the key attribute of it. While running the project, I got the below error.
[Static type checking] - [ADF security error] Calling the constructor for class oracle.jbo.server.SequenceImpl is not permitted.
To avoid this issue,
- Go to the source of the entity object xml file
- Search for the tag "TransientExpression"
- Check the attribute trustMode. It may have the value "untrusted"
- Change the value to "trusted". Save and run the app
Now the issue should be solved.
Note: The same solution is given in my previous post for the below error. This solution worked for both the issues.