tag:blogger.com,1999:blog-5760168315986122884.post1458068019738769896..comments2023-10-17T15:00:23.135+05:30Comments on Ashish Awasthi's Blog: Performing Partial Rollback (Undo Changes) operation in ADF, Stay on current row after rollbackAshish Awasthihttp://www.blogger.com/profile/12262246262095913627noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-5760168315986122884.post-64640935344300126442017-07-21T14:11:54.611+05:302017-07-21T14:11:54.611+05:30Actually you don't want to commit anything at ...Actually you don't want to commit anything at all, then why calling commit operation just delete selected rows using row.remove() method and finally on commit save the records Ashish Awasthihttps://www.blogger.com/profile/12262246262095913627noreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-44231760372905842312017-07-21T10:57:32.078+05:302017-07-21T10:57:32.078+05:30Hi Ashish,
I have also similar requirement(Parti...Hi Ashish,<br /><br /><br />I have also similar requirement(Partial commit) but slightly different. Could you please check my requirement and help me. <br /><br />My requirement is : On commit operation i want to delete some selected rows but at the same time i donot want to commit newly added rows. <br /><br />Note: Actually i am handling delete operation programmatically.<br /><br />So if user adds new row into the table and then selects some rows to delete then i am able to delete rows in db but newly added row also getting committed with null values which i do not want. <br /><br />Is there any method where i can manipulate partial commits. <br /><br />Thanks,<br />MdasAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-26137559994097887392017-03-14T19:07:31.059+05:302017-03-14T19:07:31.059+05:30Hi,
My requirement is-- I am having 4 VO's i.e...Hi,<br />My requirement is-- I am having 4 VO's i.e VO1,VO2,VO3,VO4.They are having parent child relationship i.e. VO1->Multiple rows of VO2 -> Each VO2 have multiple rows of VO3 and so on. User can edit all the rows of VO3, but there is a "Save" buttom correspomding to each row. So I want to save that particular row in db irrespective of all the rows.<br />I implemented this page using ViewLinks.<br />One solution is to implement all the page using POJO's, but for that needs to write lot of JAVA code. So I am looking for some other alternative, if available.<br />Thanks in advance.<br />Regards<br />ManojAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-64864324097456869852017-03-14T14:16:43.109+05:302017-03-14T14:16:43.109+05:30Hi
Commit is for whole application module so it i...Hi<br /><br />Commit is for whole application module so it is not possible to commit single viewObject only <br />BDQ Why you want to do that ? Share your requirement may be i can help you with that or try creating separate application module for that viewObject<br /><br />AshishAshish Awasthihttps://www.blogger.com/profile/12262246262095913627noreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-73973756721060499572017-03-14T13:59:17.166+05:302017-03-14T13:59:17.166+05:30Hi Ashish,
Is it possible to have partial Commit ?...Hi Ashish,<br />Is it possible to have partial Commit ?<br />My requirement is , in jsff i have 4 VO's based on specific VO's.<br />Modified all vo's , but on click of one button, wants to commit db changes only of one VO.<br />If i used Commit operation, it commits all the eo's into db.<br />Can you please help?<br />Regards,<br />Manoj Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-19176536811783420572017-02-28T13:23:40.793+05:302017-02-28T13:23:40.793+05:30It is in ViewObject RowImpl class and to set it...It is in ViewObject RowImpl class and to set it's value code in written in getter method of variableAshish Awasthihttps://www.blogger.com/profile/12262246262095913627noreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-17389906483709658602017-02-23T20:30:57.726+05:302017-02-23T20:30:57.726+05:30where this 'RowStatusTrans' is being set c...where this 'RowStatusTrans' is being set coz in my case it's throwing error defination for RowStatusTrans not found.Anonymoushttps://www.blogger.com/profile/00978535799860444984noreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-19662222852619757152016-08-19T18:44:53.673+05:302016-08-19T18:44:53.673+05:30You can use soft deletion for this requirement , c...You can use soft deletion for this requirement , check jobinesh's post - <a href="http://www.jobinesh.com/2011/05/soft-deletion-of-rows.html" rel="nofollow">Soft Deletion of Rows</a>Ashish Awasthihttps://www.blogger.com/profile/12262246262095913627noreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-16226652044950959552016-08-19T13:56:25.503+05:302016-08-19T13:56:25.503+05:30Here , you are showing update and add of a row and...Here , you are showing update and add of a row and they are getting reverted. What if I delete a row and I need that back on Cancel?Nitishhttps://www.blogger.com/profile/11582084244359725754noreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-31148471748343036842016-07-12T18:52:31.673+05:302016-07-12T18:52:31.673+05:30No, I don't think that you can retain unsaved ...No, I don't think that you can retain unsaved values<br />Suppose you have changed values in a saved row then after partial rollback you'll be able to see DB values <br />If you'll call partial rollback on newly created row then it'll be removed <br /><br />AshishAshish Awasthihttps://www.blogger.com/profile/12262246262095913627noreply@blogger.comtag:blogger.com,1999:blog-5760168315986122884.post-27003030137618429012016-07-12T14:53:32.234+05:302016-07-12T14:53:32.234+05:30Thanks Ashish for sharing this post .
Can we retai...Thanks Ashish for sharing this post .<br />Can we retain the filled values of newly added row in Employee table ?,as if we perform partial rollback as you suggested user inserted data (EmpId,FirstName,LastName...)are not retaining only empty row will retain.<br />Kulrajhttps://www.blogger.com/profile/08221806864523007992noreply@blogger.com