Archive for November, 2005

New Release Times Ten

Oracle announces release 6 of their In Memory database, more details here. Faster, bigger, better and easier… well, let’s try it first.

Violation of VPD Policy on DML raises FRM-40654 :Record Has Been Changed by Another User error in Oracle Forms

From previous posts, you may have understood that I have been using VPD policies – Virtual Private Database or Fine Grained Access Control – quite extensively in my current project. Since the data visibility is dependent on quite complex conditions, we use VPD Select policies to govern which records are retrievable by a certain user given a specific context. For DML operations, an even more restricive set of policies is required, as it is quite common that a user may see more records than he or she is allowed to updated. In the spirit of VPD, I made liberal use of VPD DML policies on Insert, Update and Delete operations to control which modifications were allowed to users.

The Unit-tests I performed using utPLSQL sailed through successfully: no records were DML-ed that were not allowed and the DML operations that should complete were completed as expected. So everything looked hunky dory, and I happily submitted my work and went on to greener pastures.

Unfortunately Read the rest of this entry »

Issue LOV JHeadstart 10.1.2.0

JHeadstart version: 10.1.2.0 (build 19) and probably 10.1.2.1
ADF UIX version: 2.2.16
JDeveloper version: 10.1.2.17.84

Description
After launching a LOV and selecting a value from it, the lookup values are not displayed in the base record. This holds true only for UIX and works fine in JSP.
Read the rest of this entry »

ODTUG 2006 in Washington, DC – Abstracts Due 12 December

The next edition of the yearly reunion of the best (and nicest) Oracle Developers in the world is going to be held from June 17th to June 21st, in Washington DC – the closest to home they have ever been. ODTUG (Oracle Development Tools User Group) conferences are always interesting and enjoyable. AMIS has presented over 15 papers and presentations at ODTUG. I have been to ODTUG conferences 10 times, starting in 1997 San Diego and visiting Fort Lauderdale, Scottsdale, Miami, Palm Springs, St Louis, Las Vegas and last year New Orleans. So next year, Eastern Time again in Washington DC.

Abstracts for presenting at this entertaining conference need to be submitted very early this year: already by December 12th 2005. See for instructions the ODTUG Conference Site.

Using .NET Stored Procedures in Oracle 10gR2

From the OTN Series on “Mastering .NET Application Development with Oracle”, this installment on taking advantage of .NET stored procedures in your applications. See Using .NET Stored Procedures in Oracle

PL/SQL stored procedures and functions run in the same process as the Oracle Database and are stored inside of Oracle. A .NET stored procedure, on the other hand, runs in an external process and the .NET code is compiled into a “.NET assembly,” Read the rest of this entry »

Oracle Designer – Keyword Expansion upon Check Out

A little while ago I wrote the article Oracle Designer Check In – synchronize P_VERSION argument on this weblog. In it, I discuss the desirability of having Oracle Designer apply the version label of a Module that it receives during Check In to the Module Argument p_revision. This parameter is used in the About Window of the Application, to show to the end user what the version is of the Form he is working with.

Now I have realized that you want the same thing to happen during Check Out of the Module: if you start making changes to the checked out module and you generate it again, it will still display the same version label it had when it was checked in. That is clearly wrong, as the Form is now a different one. So the challenge discussed in this article is: how to have Oracle Designer apply the value of the Version-Label-after-Checkout to the module’s parameter.
Read the rest of this entry »

Oracle Designer Report – SQL Script for Roles vs. Modules

On my current project, we had a request from the customer to produce an overview of all the (Database) Roles in the Application with a list of Modules, Screens and Reports, that are assigned to those Roles. Since I could not find this overview in shipped Repository Reports, and I know I did not implement it in the Repository Object Browser, I quickly wrote the following SQL Query, that you can execute as any Designer (Repository) User: Read the rest of this entry »

Mind Mapping

Recently, in a meeting with some of my collegues I realized that there are many way to take notes, add priorities and relations etc. etc. One of them used the mindmapping technique and the commercial tool MindManager to achieve this. I was quite impressed. Although the result is a rather simple ‘image’, it’s another way to look at information which can be quite refreshing and informative.
I found an open source equivalent, FreeMind, with the same functionality. It’s written in java and runs on many platforms; it can export to multiple formats like png, (X)HTML, pdf etc. and it can even import Mindmapper maps. I guess it will become part my standard toolset.
Check out the screenshots on the FreeMind site. By the way, I just discovered that FreeMind can run as an applet, thus providing a good mechanism for sharing your mindmaps.