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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Commit on one application module also commits the other

user10867691Dec 19 2012 — edited Dec 20 2012
Jdev 11.1.1.4

I have a fusion ADF application where I have defined two Data Controls.

One is called AppModuleDatacontrol and the other AppModuleWSDataControl.

I do this in order to be able to commit DML made on one Data Control independently of the other.

The problem is that when a do something like:

AppModuleWSImpl am=(AppModuleWSImpl)Util.getApplicationModule("AppModuleWSDataControl");
am.getTransaction().commit();

Errors on VO of AppModuleDataControl are raised. They were not expected to be raised !

I have activated ADF logs and just after executing

AppModuleWSImpl am=(AppModuleWSImpl)Util.getApplicationModule("AppModuleWSDataControl");

and before executing the commit I get:

<BindingContext> <findDataControl> [4147] INFO: no refreshRegion, skipping cpx codebase lookup on AppModuleWSDataControl
<BindingContext> <put> [4148] BindingContext.put( AppModuleWSDataControl@edu_esade_view_DataBindings_cpx, oracle.jbo.uicli.binding.JUApplication )
<PropertyManager> <loadProperty> [4149] WARNING: Property jbo.maxpoolcookieageset to null
<PropertyManager> <loadProperty> [4150] Skipping empty Property jbo.maxpoolcookieage from null
<BindingContext> <put> [4151] BindingContext.put( AppModuleWSDataControl@edu_esade_view_DataBindings_cpx, oracle.jbo.uicli.binding.JUApplication )
<BindingContext> <put> [4152] BindingContext.put( AppModuleWSDataControl@edu_esade_view_DataBindings_cpx, oracle.jbo.uicli.binding.JUApplication )
<DebugDiagnostic> <print> [4153] DBG: DataControl:Looking for :_adf_dc_user_params_key_
<DebugDiagnostic> <print> [4154] DBG: DataControl:Looking for :_adf_dc_user_params_key_
<ADFLogger> <begin> Create nested Application Module


I don't know if "Create nested Application Module" is important but I don't want this AppModule to be nested of the other. I want them to be completly independent in order to achieve independance of the commit actions.

Any help ?
This post has been answered by User_HWHT9 on Dec 20 2012
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 17 2013
Added on Dec 19 2012
19 comments
814 views