tag:blogger.com,1999:blog-5874979429188093780.post901809158040801257..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: Coding Validation in ADF BC View Object Before Commit MethodAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-5874979429188093780.post-57152458248514460022017-05-03T11:58:36.144+02:002017-05-03T11:58:36.144+02:00I have a requirement that i can't change the E...I have a requirement that i can't change the EO, is there any way to add the validation for the attribute in VO, except the method beforeCommit?<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-68426819329780539382017-02-15T17:15:47.694+01:002017-02-15T17:15:47.694+01:00Then I would recommend to update to newer version ...Then I would recommend to update to newer version :)<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-43545262091624773372017-02-15T16:25:55.703+01:002017-02-15T16:25:55.703+01:00Can I override beforeCommit(TransactionEvent trans...Can I override beforeCommit(TransactionEvent transactionEvent) for any custom validation in EOImpl ? Or will this have the similar multiple invocation as you discussed here.<br />I saw your other post http://andrejusb.blogspot.in/2014/07/adf-bc-12c-new-feature-entity-level.html regarding Triggers. If my ADF is in older version which is the efficient way ?Anonymoushttps://www.blogger.com/profile/07599302198001426910noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-11539940245606282062013-03-21T17:37:57.591+01:002013-03-21T17:37:57.591+01:00You can implement Entity validation rules in stand...You can implement Entity validation rules in standard way.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-49758613960563697832013-03-21T17:33:57.058+01:002013-03-21T17:33:57.058+01:00Suppose if i have a programmatic entity in which a...Suppose if i have a programmatic entity in which all the attributes are transient then what is the solutionTaufeeqhttps://www.blogger.com/profile/07164035651043767480noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-25551627518259177682013-03-21T16:00:15.376+01:002013-03-21T16:00:15.376+01:00I would suggest to write your own custom method in...I would suggest to write your own custom method in View Object Impl and expose it through Client Interface, then you can call it from managed bean listener.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-670950215469409572013-03-21T08:38:49.512+01:002013-03-21T08:38:49.512+01:00Hi,
This is a good clarification, but if I need t...Hi,<br /><br />This is a good clarification, but if I need to validate the data of a View Object, can I only do it from a Managed Bean? Or BC provide another method to do this.<br />Thanks!<br />Marcos.Marcos Cerdáhttps://www.blogger.com/profile/06950492309484752952noreply@blogger.com