Tuesday, November 3, 2009

JDev/ADF sample - Business Logic Groups in Oracle ADF 11g

  • Business Logic Groups in Oracle ADF 11g. I was reviewing Business Logic Groups functionality in Oracle ADF BC and was getting problems - correct Business Logic Unit wasn't invoked when needed. Its because I misunderstood documentation, and was trying to configure discriminator property for attribute. Its seems everything much more simple, you just need to specify discriminator value in Business Logic Unit name. Thanks to Steve Muench for this pointer. Actually, there is a tip in documentation as well, which I skipped while reading - 4.8.2 How to Create a Business Logic Unit. Download sample application with working Business Logic Group defined for Employees EO.
    Download - BusinessGroups.zip

3 comments:

Sameh Nassar said...

Hi Andrejus,
Thank You for this great post but I have one problem:
When I create new group I found the SelectOneChoice Group Discriminator Attribute get only VARCHAR2 attribute (String attribut)only what about another attribute?

Andrej Baranovskij said...

Hi Sameh,

Oracle supports discriminator only for String type attributes I think.

Regards,
Andrejus

Andrej Baranovskij said...

I think its actually logical to have on String type for discriminator.

Andrejus