Skip to main content

Posts

Showing posts with the label Oracle12c

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...

Issues installing Oracle 12c on Windows.

Oracle 12c comes in two packages and installing it is so easy but takes a lot of time to figure out a simple solution. Follow these steps for a smooth installation: 1. Download oracle12c(file1,file2) from oracle downloads page. 2. You will see two packages winx64_12102_SE2_database_1of2 winx64_12102_SE2_database_2of2 3. Extract winx64_12102_SE2_database_1of2 and winx64_12102_SE2_database_2of2 . 4. Copy all files from winx64_12102_SE2_database_2of2\database\stage\Components to winx64_12102_SE2_database_1of2\database\stage\Components. 5. Run setup in database as Administrator. Happy Coding :)