My Oracle Support Banner

Business Components Refactoring does not Update AM References (Doc ID 2687090.1)

Last updated on NOVEMBER 06, 2021

Applies to:

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


After building the business components from tables, these objects need to be organized into packages.
So the "Refactor" operation was used for some of them by using the "Move" option from the context menu.

For example:
Some View Objects the will be used for List of values were moved into a sub package under "view".
The generic view package is "<VIEW_OBJECT_PACKAGE>" and some VOs will be moved to "<VIEW_OBJECT_PACKAGE>.<LOV_FOLDER>"
The steps to do this on each VO are to right click on the VO, chose Refactor->Move, update the package name, then OK.

The VO moved correctly under the new package, But it didn't update the package reference in other parts of the app.
In the Application Module for instance it didn't update the reference to those VOs to the new Package, so they had to be manually changed.

Same issue happened when trying to do the same thing with Entity Objects, References in following parts didn't update:
- Associations: Relationships totally broke
- VOs : VOs referencing those Moved Entities also didn't catch the new package in the definition.




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.