Tag: ADF

  • Repair a corrupt JDeveloper

    It happened to me two times over the last couple of months. In the morning, when I fired up JDeveloper to work on the ADF project at my current client, JDeveloper suddenly “forgot” which project workspaces were open and lots of other settings were lost. Apparently, some settings files are corrupted for whatever reason. In this state, it is not possible to do my normal work with JDeveloper. As I don’t want to spend half the day with re-installing JDeveloper and all plugins and re-doing all my settings, I figured out a way to “repair” the JDeveloper settings. I thought I’d share this, so if you ever encounter a similar situation, you can safe yourself a lot of work by just repeating what I did.

  • Oracle ADF: set focus to input field in data table

    At my current client we had the first user acceptance test of a new Oracle ADF application. We have a lot of data entry pages in our application, where database records are presented in editable tables. Each table has a tool bar, with a “Create new record” button on it. One of the things the users noticed during the test, is that when they created a new record, the new record showed up in the table and was selected, but the first input field in the record didn’t have the input focus. I looked for a setting in ADF to set the input focus after creating a new record, but didn’t find anything. So I created my own solution…

  • Revisited: Oracle ADF and Virtual Private Database

    At the end of my previous post, I stated: There’s one more thing I’m not really sure of (yet). In section 39.7 of their Fusion Middleware Developer’s Guide, Oracle shows a (in my opinion rather hacky) way to make sure Session information is saved between different incarnations of the ApplicationModule. I’m not sure if this […]

  • Oracle ADF and Virtual Private Database

    As you probably know, Oracle ADF is a complete JEE application development framework from Oracle. It is targetted at companies that already have an Oracle Database and perhaps legacy applications developed with Oracle’s “Forms” technology. The client I’m working for at the moment is such a company, and we’re developing an application in ADF that is going to replace (a part of) their Forms application eventually.

    One would expect a framework designed by Oracle for use with an Oracle database to have excellent support for specific features of the Oracle database. For a lot of features this is true, but at my client’s, we were unlucky to have chosen to use a database feature that is not supported that well in ADF. That is “out of the box”. Wit a lot of “trial and error” and some help from some experts at the forum on Oracle’s Technology Network, I managed to get it working. Read on to find out what problems I encountered and how I solved them.