Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

what to expect from getApplicationModule() method

Jan VerveckenSep 10 2013 — edited Sep 19 2013

hi

What exactly can be expected from getApplicationModule() methods

at http://docs.oracle.com/cd/E28280_01/apirefs.1111/e10653/oracle/jbo/RowSet.html#getApplicationModule%28%29

also implemented in ViewObjectImpl

see http://docs.oracle.com/cd/E28280_01/apirefs.1111/e10653/oracle/jbo/server/ViewObjectImpl.html#getApplicationModule%28%29

which says "... if you call this method on a row set which is the result of calling a View Link accessor, it will return the root application module ..."

But, what does not seem to be documented is what type (class) of Application Module instance can be expected.

The Application Module instance class does not seem to be consistent over JDeveloper releases:

Using the example application created using JDeveloper 11.1.1.7.0

at http://www.consideringred.com/files/oracle/2013/WhichApplicationModuleApp-v0.01.zip

- in JDeveloper 11.1.1.7.0 the Application Module instance class is "HRCountriesServiceImpl" where "HRDepartmentsServiceImpl" could be expected

see http://www.consideringred.com/files/oracle/img/2013/WhichApplicationModuleApp-v001-JDev111170-20130910.png

- in JDeveloper 11.1.2.4.0 the Application Module instance class is "HRDepartmentsServiceImpl" where it is "HRCountriesServiceImpl" in JDeveloper 11.1.1.7.0

see http://www.consideringred.com/files/oracle/img/2013/WhichApplicationModuleApp-v001-JDev111240-20130910.png

- in JDeveloper 12.1.2.0.0 the Application Module instance class is "HRDepartmentsServiceImpl" where it is "HRCountriesServiceImpl" in JDeveloper 11.1.1.7.0

see http://www.consideringred.com/files/oracle/img/2013/WhichApplicationModuleApp-v001-JDev121200-20130910.png

This observation seems to imply that no assumptions (or only limited assumptions) can be made about the Application Module instance (type) to which a View Object instance belongs.

Any authoritative feedback, or pointers to relevant documentation to clarify this are welcome.

many thanks

Jan Vervecken

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2013
Added on Sep 10 2013
5 comments
439 views