Skip to main content

Oracle ADF Real World Developer’s Guide - Q & A

This post is dedicated for answering any queries(or clarifications) on the topics discussed in my book Oracle ADF Real World Developer’s Guide. Please post your queries in the Comments section of this blog post.


Anonymous said…
Hi JOBINESH, I would like to convey my sincere thanks for you for giving us such a nice book on ADF and i really feel so comfortable working on ADF after reading this book.... and i generally do not specifically post any comments in any of the blogs.. but for the first time i felt like i must be thankful to for someone who have given us such a nice book with crystal clear explanation on all the concepts.
This book is kind of boon to the developer's who would like to work on ADF and the greatness of this book is it's simplicity in presenting most of the difficult topics and easy to understand.
I'm really grateful to you forever and may God bless you and your family with good health and knowledge.
Lastly, we do expect a lot of such nice books from and appreciate your effort on the same.

Jobinesh said…
Thank you very much for your valuable comments, it really inspires me and keeps me motivated. I really value your feedback. Thanks once again.

Popular posts from this blog

Happy New Year 2018 !

We can't go back and change the beginning, but we always can start where we are and change the ending. Believe in yourself and you will be unstoppable!

Wishing you and your family a very happy new year 2018 !!!

How to set Bind Variable Values at runtime ?

In this post I'm sharing a couple of approaches for programmatically setting bind variables values at run time. This post is an attempt to explain 'When to use what ?'[ In case if you are familiar with 'Bind Variables' in ADF BC, please refer Section 5.10, Working with Bind Variables in Fusion Developer's Guide ]

1. Set the Bind Variable value using RowSet::setNamedWhereClauseParam(...)

You can use use the setNamedWhereClauseParam(...) method on the ViewObject interface (which extends oracle.jbo.RowSet) to set the value for bind variables. Please note this sets the value on default RowSet. In other words, this doesn't have any effect on the secondary RowSets that you/system generates.
ViewObject vo = am.findViewObject("EmployeesView1"); vo.setNamedWhereClauseParam("bindVarDeptId", new Number(10)); vo.executeQuery();
2. Set the Bind Variable value using ViewObject's VariableValueManager::setVariableValue(...)

VariableValueManager Ma…