A very common scenario in ADF is to set a bind variable and execute query programmatically within AMImpl/ VOImpl classes. Here's a simple way to do this: To set bind variable for all rowsets: ViewObjectImpl someVO = this.getSomeViewObject(); VariableValueManager vMngr = someVO.ensureVariableManager(); vMngr.setVariableValue("DefinedBindVariable",value); someVO,executeQuery(); To set bind variable for default rowset: ViewObjectImpl someVO = this.getSomeViewObject(); someVO.setNamedWhereClauseParam("DefinedBindVariable",value); someVO,executeQuery();
Scribble-pad of a humble, hungry and foolish engineer. "Stay Hungry, Stay Foolish" -Steve Jobs