Skip to main content

Posts

Showing posts with the label InvokeAction

Part I: Migrating to 12c not so easy - Oracle ADF Jdeveloper 12c Findings

This post is part of 12c Migration project which lists all updates and deprecated stuff in 12c from its predecessors. These are all known findings so far I'll try to update this as I come across new stuff, bugs or fixes: Java8 👏👏👏👏 - you know what it means 👼 No Groovy Expression to Generate Sequence: Common requirement is to use a database sequence to populate key attribute and you can achieve this by adding a groovy expression to the expression tab of attribute in entity object. (new oracle.jbo.server.SequenceImpl("YOUR_SEQUENCE_NAME", adf.object.getDBTransaction())).getSequenceNumber() Trying to use the same logic in 12C will result in following runtime exception: JBO-25152: Calling the constructor for class oracle.jbo.server.SequenceImpl is not permitted. Here's a quick fix for this issue: Open EO in the source view. Search for trustMode. Change trustMode="untrusted" to trustMode="trusted". R.I.P  InvokeAction, comman...