This content has been marked as final. Show 3 replies
Thanks Don Kleppinger for Replying,
Yes you are right via giving the shareDataControl we can achieve this functionalitty but actually I forget to mention that instead of Transfer View Object Instance. I'm creating a POJO Class and there I'm populating the VO Data and that POJO Class I'm passing as a Parameter in TaskFlow and in My Child Screen I'm Populating the data From POJO Class and while Closing the Child Screen I set the Child Screen Data into My POJO Class and iin Parent Screen I'll populate the Data From POJO Class to actual VO if any Changes is there.
so please help me on this scenario that how I can solve the AlreadyLockedException Issue.
You shouldn't be getting that exception with optimistic locking unless you have code that is somewhere calling postChanges without performing a commit. Make sure there is not exception being thrown leaving entity in bad state. Try increasing the logging level on oracle.adfInternal, oracle.adf or oracle.jbo packages to see if that sheds any light on what is happening.
See these threads
Updating the current row in vo which is bind to af:table.
ADF BC: failed to checkout an app module due to AlreadyLockedException