My Oracle Support Banner

Oracle Forms Hangs / Performs Slowly When Null Is Passed To A Record Group Containing NVL (Doc ID 280918.1)

Last updated on OCTOBER 09, 2023

Applies to:

Oracle Forms - Version and later
Information in this document applies to any platform.


 Passing a null value to any record groups that contains an NVL statement causes Oracle Forms to hang or the code takes a long time to execute.

There are no errors, even with ON-ERROR and ON-MESSAGE triggers removed.

Example record group code:

SELECT col_name1
FROM table_name
WHERE table_name.col_name2 = NVL(:block.itemname,'xx')

There is no problem when :block.itemname is not null but if :block.itemname is null then this causes Oracle Forms to hang or performance to degrade.

The problem does not reproduce when the SQL associated with the record group is run in SQL*Plus, and a null value is passed to the where clause.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.