Commit Behaviour in  ADF

Hi,
My question is, how commit operation will work in ADF....?
Scenario@
I have an JSF page, where draged an two tables, which is having foriegn key relation between them. Iam programatically entering row values in two tables(first master table and then into child table), when i press commit button(which is dragged from DataControl), it is giving error " PArent key not found- violation....."
How can i reslove this....?
Regards.

Hi.
You are trying to commit "child" information before your Parent information is commited.
Can you describe how you dragged & droped your views?.
Dragged relationship views or single views?.
Can you put output log with jbo with FINEST level?.
To find a solution try next solutions:
1) Disable "strong" association between your parent-child entities. To achieve it follow next steps:
- Go to your "Assoc" that describes your foreign key.
- In "Realtionship" tab, "Behaviour" disable "Composition Association".
Image: http://1.bp.blogspot.com/-Em8NZvjOUzo/T_NQbJTcLjI/AAAAAAAAAm4/hPsDwtEhJQ4/s1600/4.png
2) Drag and Drop correct views as a Master-Detail (cascading views in your Data Control).
http://2.bp.blogspot.com/-1By5vNNGMFQ/T_NQdYzexKI/AAAAAAAAAnE/DGn7Gr0RSDw/s1600/6.png (in spanish).
In the image, drag & drop PortalwebView2 is the correct way for Master-Details tables. Probably you dragged PortalwebView1 that have dependecy to master table.
Steps that you have followed:
- Drag & Drop dependen View Object as a Master-Detail with two tables.
- Add Create operations from these views to create Rows.
- Add Commit general operation from Data Control.
Try to drag & drop Master-Detail views correctly before disable association.
PD: To try your model faster run Model project instead of your application.
Regards.
Edited by: Daniel Merchán on 30-jul-2012 12:05

Similar Messages

  • Autocommit and Cursor commit Behaviour

    Hi,
    I need help to set and get the Autocommit and Cursor commit behavior attributes
    in Oracle.
    AUTOCOMMIT:
    For DDL Statement, this attribute is set while executing the OCIStmtExecute() api
    as below:-
    r = OCIStmtExecute(d->svc, d->sql, d->err, 1,0,
    (CONST OCISnapshot *) NULL,
    (OCISnapshot *) NULL,
    d->transaction ? OCI_DEFAULT :                                         OCI_COMMIT_ON_SUCCESS);
    For DML Statement, from the OCI documentation the database parameter attributes
    support OCI_ATTR_AUTOCOMMIT_DDL with the values OCI_AC_DDL and OCI_NO_AC_DDL.
    Since this is a parameter attribute, I couldn't set using OCIAttrSet() API.
    I need help in implementing AUTOCOMMIT for both DDL / DML statements.
    CURSOR COMMIT BEHAVIOUR:
    Similarly, I have observed that Oracle support cursor commit behavior attributes
    using OCI_ATTR_CURSOR_COMMIT_BEHAVIOR and the attribute values are OCI_CURSOR_OPEN and OCI_CURSOR_CLOSED.
    I have tried setting this attribute as below:-
    ub1 nCommitType = OCI_CURSOR_OPEN;
    oraRC = OCIAttrSet((dvoid *)d->svc, (ub4)OCI_HTYPE_SVCCTX,
         (dvoid *)&nCommitType,
         (ub4)sizeof(nCommitType),
         OCI_ATTR_CURSOR_COMMIT_BEHAVIOR, d->err);
    This always fails with the error ORA-24315: illegal attribute type.
    I need help in setting this attribute using OCI.
    Another approach to set Autocommit / Close Cursor attributes:-
    Oracle support SET commands for autocommit and closecursor, I have prepared
    and executed these set commands using OCIStmtPrepare and OCIStmtExecute api. The OCIStmtExecute() API fails to execute the below command texts.
    SET AUTOCOMMIT ON/OFF
    SET CLOSECURSOR ON/OFF
    Is it the right method of setting these attributes?
    Thanks,
    Sankar.P.

    Hi.
    You are trying to commit "child" information before your Parent information is commited.
    Can you describe how you dragged & droped your views?.
    Dragged relationship views or single views?.
    Can you put output log with jbo with FINEST level?.
    To find a solution try next solutions:
    1) Disable "strong" association between your parent-child entities. To achieve it follow next steps:
    - Go to your "Assoc" that describes your foreign key.
    - In "Realtionship" tab, "Behaviour" disable "Composition Association".
    Image: http://1.bp.blogspot.com/-Em8NZvjOUzo/T_NQbJTcLjI/AAAAAAAAAm4/hPsDwtEhJQ4/s1600/4.png
    2) Drag and Drop correct views as a Master-Detail (cascading views in your Data Control).
    http://2.bp.blogspot.com/-1By5vNNGMFQ/T_NQdYzexKI/AAAAAAAAAnE/DGn7Gr0RSDw/s1600/6.png (in spanish).
    In the image, drag & drop PortalwebView2 is the correct way for Master-Details tables. Probably you dragged PortalwebView1 that have dependecy to master table.
    Steps that you have followed:
    - Drag & Drop dependen View Object as a Master-Detail with two tables.
    - Add Create operations from these views to create Rows.
    - Add Commit general operation from Data Control.
    Try to drag & drop Master-Detail views correctly before disable association.
    PD: To try your model faster run Model project instead of your application.
    Regards.
    Edited by: Daniel Merchán on 30-jul-2012 12:05

  • How can I can make a pre-commit in jsf adf

    Hi!
    Can anyone help me on how to create a pre-commit jsf adf page.
    thanks in advance..
    alvin

    Hi,
    not sure what a pre-commit page is in your mind. All pages that don't commit to the database are pre-commit.
    With ADF Business Components fro example, all data is first submitted to the ADF BC cache and persisted only if explicitly calling commit.
    Frank

  • Hierarchy Viewer difference in behaviour between ADF 11.1.1.5 & 11.1.1.6

    Hi All,
    We are having some problems with the Hierarchy Viewer and we were hoping that someone might be able to shed some light on this issue.
    In ADF 11.1.1.5 we have used the attribute displayLevelsChildren which shows how many levels of children would be displayed (if those levels are available of course). We have assigned a value to a select one choice that would set those levels and allow for our user to customise this value and see the levels on right hand side.
    You can see the behaviour that I am referring to in the following demo:
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/hv/hvGroupNode.jspx
    I know that this is an 11.1.2, but this has been the same demo for quite a while, when you change the Show Level on the left, the hierarchy viewer gets updated.
    I have created a simple app that illustrates the problem, and when I run it under 11.1.1.5 it performs as expected, while when we run it on 11.1.1.6 it doesn't refresh the levels
    Versions
    Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013
    Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
    The code is below
    This is the "dataBean" which is a pageFlowScope.
    package au.callista.sms.sr.view;
    import java.util.ArrayList;
    import java.util.List;
    import org.apache.myfaces.trinidad.model.ChildPropertyTreeModel;
    import org.apache.myfaces.trinidad.model.TreeModel;
    public class DataBean {
         private TreeModel dataModel;
         public DataBean() {
              super();
              DataNode grandfather = new DataNode("Big daddy");
              DataNode father1 = new DataNode("Daddy 1");
              DataNode son1 = new DataNode("Son 1");
              DataNode daughter1 = new DataNode("Daughter 1");
              father1.addChild(son1);
              father1.addChild(daughter1);
              DataNode father2 = new DataNode("Daddy 2");
              DataNode son2 = new DataNode("Son 2");
              DataNode daughter2 = new DataNode("Daughter 2");
              father2.addChild(son2);
              father2.addChild(daughter2);
              DataNode father3 = new DataNode("Daddy 3");
              DataNode son3 = new DataNode("Son 3");
              DataNode daughter3 = new DataNode("Daughter 3");
              father3.addChild(son3);
              father3.addChild(daughter3);
              grandfather.addChild(father1);
              grandfather.addChild(father2);
              grandfather.addChild(father3);
              dataModel = new ChildPropertyTreeModel(grandfather, "children");
         public void setDataModel(TreeModel dataModel) {
              this.dataModel = dataModel;
         public TreeModel getDataModel() {
              return dataModel;
         public class DataNode {
              private String title;
              private List<DataNode> children;
              public DataNode(String title) {
                   this.title = title;
                   children = new ArrayList<DataNode>();
              public void addChild(DataNode child) {
                   this.children.add(child);
              public List<DataNode> getChildren() {
                   return children;
              public String toString() {
                   return title;
    }And below is the jspx page
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:panelSplitter id="ps1">
              <f:facet name="first">
                <af:panelGroupLayout id="pgl3">
                  <af:selectOneChoice label="Show Levels"
                                      value="#{pageFlowScope.levels}" id="soc1"
                                      autoSubmit="true"
                                      valuePassThru="true">
                    <af:selectItem label="Show No level" value="#{0}" id="si1"/>
                    <af:selectItem label="Show 1 level" value="#{1}" id="si4"/>
                    <af:selectItem label="Show 2 level" value="#{2}" id="si3"/>
                    <af:selectItem label="Show 3 level" value="#{3}" id="si2"/>
                  </af:selectOneChoice>
                  <af:outputText value="#{pageFlowScope.levels}" id="ot1"
                                 partialTriggers="soc1"/>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="second">
                <dvt:hierarchyViewer id="hierarchyViewer1" layout="hier_vert_top"
                                     inlineStyle="width:100%;height:600px;"
                                     value="#{pageFlowScope.dataBean.dataModel}"
                                     var="node" partialTriggers="::soc1"
                                     displayLevelsChildren="#{pageFlowScope.levels}">
                  <dvt:link linkType="orthogonalRounded" id="l1"/>
                  <dvt:node width="100" height="100" id="n1">
                    <f:facet name="zoom100">
                      <af:panelGroupLayout layout="vertical"
                                           inlineStyle="width:100%;height:100%;padding:5px"
                                           id="pgl2">
                        <af:panelGroupLayout layout="horizontal" id="pgl1">
                          <af:panelGroupLayout layout="vertical" id="pgl4">
                            <af:outputText value="#{node}"
                                           inlineStyle="font-weight:bold;font-size:20px;color:#383A47"
                                           id="ot2"/>
                          </af:panelGroupLayout>
                        </af:panelGroupLayout>
                      </af:panelGroupLayout>
                    </f:facet>
                  </dvt:node>
                </dvt:hierarchyViewer>
              </f:facet>
            </af:panelSplitter>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Looking forward to your response.
    Regards,
    Younis Al-Rawi
    Edited by: Younis Al-Rawi on 4/03/2013 08:58

    Hi,
    the only change is that 11.1.1.6 supports HTML 5 rendering. So you may want to check if the rendering is in Flash or HTML5. If the rendering is in Flash and the mis-behavior shows then the only suggestion I can give is (in case you have a support contract) to file a service request with customer support
    Frank

  • Handling DB sequences for create and commit actions on ADF tables

    Hello,
    Most of the tables will have sequences used for primary keys and there will be columns like created_On and created_By columns. But my table does not require user inputs for these columns. So when commit button is clicked on the table how to handle these columns. The commit action should refer the sequence and enter SYSDATE and username for created_on and created_by columns.
    what is the workaround for this ?
    Thanks.

    Use groovy expressions as default values for the EO fields - adf.currentDate and adf.context.securityContext.getUserName()
    For the sequence see the ADF documentation:
    http://docs.oracle.com/cd/E16162_01/web.1112/e16182/bcentities.htm#sm0147

  • Making a delete commit automatically with ADF BC, Struts and ADF UIX

    I'm trying to create a delete action that commits to the database automatically using ADF Business Components, Struts and ADF UIX.
    I have a browse page from which the user can view all records in the table, and perform edit, create and delete actions on the data.
    When the user selects a record and clicks edit they are taken to a screen where they can amend the details of that record. Create works in a similar way, but the create action on the view object is invoked before taking the user to the edit page (this is done by linking the browse page to an ADF DataAction (bound to Create) on the Struts page flow diagram, and then linking the ADF DataAction to the edit page).
    When the user clicks submit on the edit page, the container follows a forward from the edit page to an ADF DataAction bound to the Commit method, and then from there a forward back to the browse page.
    This seems to work fine for edit and create, but when I try to do something similar for delete, it behaves unpredictably - sometimes the delete is committed to the database, sometimes not.
    To be more specific, the way I have tried to implement the auto commit delete is as follows:
    There is a UIX submitButton on the browse page called Delete. When clicked, this button triggers an event, which is caught by an event handler inside the page. The event handler causes the UIX servlet to take a forward to an ADF DataAction bound to the Delete method on the relevant view object. It thens follows a forward from the previously mentioned DataAction to another ADF DataAction bound to the Commit method for the application module. There is then a forward leading back to the browse page.
    Has anyone else encountered similar problems?

    did you figure this out?

  • Problem commit w/intermedia adf struts uix & 1 step submit/commit to user

    JDev 9051, ADF, Struts, ix & Intermedia
    Problem:
    Inserting intermedia data type (ORDSYS.ORDIMAGE) AND wanting the "commit to happen behind the scenes" so the user does not have to press submit and then commit.
    I am having a problem committing a record to the DB when the form contains an intermedia data type. If I do not fill in the image column (using file upload) it works fine. My work around for now is to commit twice.
    To create a new entry that contains intermedia data type (ORDSYS.ORDIMAGE) I am using the following flow of events.
    NOTE: THIS DOES NOT WORK IF I UPLOAD AN IMAGE, HOWEVER, IF I LEAVE THE IMAGE COLUMN BLANK IT WORKS FINE.
    01. start at browseInventory.uix
    02. press create button which triggers event named createInventoryEvent
    03. which gives control to createInventoryFoward
    04. which fires Data Action named createInventoryAction
    05. which forwards to formInventory.uix
    06. user supplies data and presses the submit button which triggers event named commitInventoryEvent
    07. which gives control to commitInventoryFoward
    08. which fires Data Action named commitInventoryAction
    09. which forwards to browseInventory.uix
    NOTE: THIS WORKS IF I DO UPLOAD AN IMAGE (COMMIT TWICE)
    01. start at browseInventory.uix
    02. press create button which triggers event named createInventoryEvent
    03. which gives control to createInventoryFoward
    04. which fires Data Action named createInventoryAction
    05. which forwards to formInventory.uix
    06. user supplies data and presses the submit button which triggers event named commitInventoryEvent
    07. which gives control to commitInventoryFoward
    08. which fires Data Action named commitInventoryAction
    09. which (on success) fires Data Action named commitInventoryAction_2
    10. which forwards to browseInventory.uix
    BTW - is there some codes I can use to display an image (Struts Config - Page Flow) on the OTN forums if I am hosting the image?
    Thanks,
    Bill G...

    Did you ever get a soluction for the duoble commit thingie?
    cause I cuirrently have the smae problem. It seems that it uses the first commit to instantiate the object, and the second commit to actually upload it to the database.

  • How do I commit with JSF + ADF Buisness components

    Hello
    I following the Building Oracle ADF Applications: Workshop found at
    http://www.oracle.com/technology/obe/obe9051jdev/ADFWorkshop/BuildingADFApplicationsWorkshop.htm
    Instead of JSP and Struts I'm using ADF Faces.
    I'm now doing the "are you sure" page where you confirm that you want to delete a customer. I've added a button to do the delete with the ActionListner : #{bindings.Delete.invoke} but I need to be able to do a Commit afterwards.
    Could somebody explain how this is done (I new to Jdeveloper, comming from a
    Delphi background).
    Thanks is advance
    Paul

    First, if you're using 10.1.3, I'd recommend the 10.1.3 OBE here so that you're following a JSF-based tutorial that corresponds with the latest-and-greatest 10.1.3 features:
    http://www.oracle.com/technology/obe/obe1013jdev/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm
    Second, there are a few different approaches you can use for invoking multiple actions from a single button.
    (1) The model-centric approach is to add a custom method to your application module that performs the multiple operations over encapsulated inside the AM, mark the method as exposed to clients on the "Client Interface" of the AM, then drop that method as a button from the data control palette.
    (2) The controller-centric approach would be to take your existing page, with the "Delete" action binding in your page definition that was created when you dropped the "Delete" action and...
    Insert a new "action" binding inside the "bindings" section of your page definition for the "Commit" operation. (By default, it will be named commit). Double-click on your (Delete) button, and allow JDeveloper to create you a method in a JSF backing bean (keeping the [x] Generate ADF Binding Code checkbox checked. Then, in the backing bean, you can find the "Commit" operation binding and invoke it after the "Delete" operation binding has been invoked. The backing bean method will already contain the generated code to invoke the "Delete" operation. You can just copy/paste that and change the name.
    There are other more generic approaches, too, but these two ideas should get you started.

  • Qlikview behaviour with ADF

    Hi
    I need to implement a dashboard which has qlik view like behaviour:
    imagine you have a list with years and another with countries
    -you have chart with passengers by company (for all years and allcountries)
    - if you select one year (2012 for instance) the chart  is refreshed with data for only this year (this is basic ) but I want the countries for which there are sales in this year to be highlited in the list.
    I have seen this implemented in bi publisher  (see link below) so it must be possible in ADF.
    Please refer to the last picture of this link:
    Siebel Essentials: BI Publisher 11.1.1.6 Trial Edition
    Thanks in advance

    This blog explains this for a table, but you can use this technique for lists too.
    http://www.oracle.com/technetwork/articles/adf/jellema-adfcellhighlighting-087850.html
    Or http://andrejusb.blogspot.de/2010/04/changed-row-highlighting-in-oracle-adf.html
    Timo

  • ScrollBar Behaviour of ADF Taskflows rendered as Inline Popup

    Hi All,
    I am using Jdeveloper 11.1.1.5.
    I have created a bounded Taskflow and then i have used two other taskflow in my current taskflow as Inline Popup.Functionality wise everything works fine but if my given taskflow size i.e the window width and height parameters are small then the page content then automatically the Scroll bar comes into the Taskflow at runtime.
    It is good to have a scroll bar automatically but it doesn't work in a correct manner. When my page render , the scroll bar is situated at the edges of the taskflow .Now if i go down , automatically scroll happens and comes to the default position.
    This makes users bit in a hazy situation. I don't want the scrollbar in the ADF Taskflow which rendered as Inline Popup.I want the scrollBar inside thr page which can help users to do scroll in a proper way.
    Is there any way to achieve this ?
    Regards,
    Shah

    Hi All,
    Any suggestions please on this.
    Regards,
    Shah

  • [DUPLICATE]strange Session Facade method calling behaviour (EJB3/ADF Faces)

    Hi,
    I have a custom query in a Session Facade bean. On my search form I have a popup dialog and when I return from the dialog, the query in the session facade is called for no explicable reason. In fact it seems to get called several times at different events, but I only want it to be called when I click the button it's bound to. Why is this happening?
    The only partial solution I have at the moment is to make one of the method parameters of the query a boolean value that indicates whether I want the query to actually run or not, if it's false I just return from the query. I set this parameter to true in the backing bean when the search button is pressed.
    Can someone please point me to a better solution?
    many thanks
    R

    Hi,
    as mentioned in teh other posting of your, make sure the refresh condition is set so that it doesn't execute the query on postBack
    Frank

  • ADF Table refresh odd behaviour: is it a bug?

    Hi,
    I am using JDev 11.1.2.3.0.
    I found a strange behaviour of ADF table, that looks like a bug.
    I am using the following scenario:
    1). I have a page with a table on it. The table displays the VO content and all it's columns are filterable.
    2). There is another more complex filter with one parameter. The filter is always applied in addition to all existing filters and is implemented in VO implementation class by overriding the  buildWhereClause() method. The parameter value is stored in the VO as a property, and the property setter is exposed via client interface.
    3). The filter parameter value is specified using Select One Choice component, the value is stored in the pageFlowScope variable (AutoSubmit=true).
    4). The filter parameter setter is binded in the PageDef file as a method action and obtains the value from the corresponding pageFlowScope variable. When user press a button, the filter should be applied. The button has PartialSubmit=true, the table has a reference to the button in the PartialTriggers.
    Here is some code:
    // MyViewObjectImpl code fragment
    private String filter;
    public String getFilter() {
      return filter;
    public void setFilter(String filter) {
      boolean valueChanged = true;
      if (this.filter != null && filter != null) {
        valueChanged = !this.filter.equals(filter);
      this.filter = filter;
      if (valueChanged) {
        clearCache();
    // Backing bean code fragment
    private RichTable table;
    public void setTable(RichTable table) {
      this.table = table;
    public RichTable getTable() {
      return table;
    public String onApplyFilter() {
      BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
      OperationBinding op = bc.getOperationBinding("setFilter");
      op.execute();
      FilterableQueryDescriptor fm = (FilterableQueryDescriptor)table.getFilterModel();
      table.queueEvent(new QueryEvent(table, fm));
      return null;
    All works fine except for one thing: the 26-th row of the table always remains from the previous filter value. More precisely, this number equals to iterator RangeSize+1.
    Is this my fault or a bug?
    Thanks.

    Sorry, I forgot about the detailed instructions.
    1). Setup database connection to match the real DB server address, username and password.
    2). Run the ViewController project.
    3). Choose character 'a' in the filter and push "Apply". This will give the countries, ending with the letter a.
    4). Change filter to 'e' and push "Apply". This should give the countries, ending with the letter e, but in fact the second row is 'Argentina' (the first row from the previous query). Pressing the button again produces correct results.
    Thanks.

  • How to work with commit handling

    Dear All,
    an ADF Face page(jspx) calls a JSP page, which open a document in a browser window, in the same application. i wanna work with commit handling on the save button so that jsp page gets called ONLY if the commit succeeds jspx page(a ‘Transaction completed’ message (JHS-00100) is recieved). NOT if recieving a ‘No changes to save message’ (JHS-00101) or any other error message. could someone tell me how to implement it?
    regards
    Jerry

    Hi,
    if working with ADF, you can create a operation binding for the commit operation. If you check if the commit operation in ADF is enabled then you should get false if there is no data to commit. So you don't have to wait for the message.
    Frank

  • ADF ViewObject Clarifications

    Hello,
    I'm facing strange behaviours in ADF viewobject. I have a viewobject PropertyView1. I need to list the properties only for a particular user. And also within that , I need to display based on the property status.
    So I have a dataaction (DA1) which binds to a app module function ,
    ViewObject vo = getPropertyView1();
    vo.setWhereClause(" Property.USERID = :1 ");
    vo.setWhereClauseParam(0,new Long(uid));
    vo.executeQuery();
    This sets the view object to display only the properties of a particular user. This DA1 forwards to a datapage (DP1) on "Success", The DP1 contains the ADF Read-Only table for the propertyview1 view instance.
    I have another function which should display only the "new" properties for a particular user.
    Another data action (DA2) which contains the function,
    ViewObject vo = getPropertyView1();
    vo.setWhereClause(" Property.PROPSTATUS = :1 and Property.LAGENT = :2 ");
    vo.setWhereClauseParam(0,status1);
    vo.setWhereClauseParam(1,new Integer(uid));
    vo.executeQuery();
    This displays the user properties which are "New". Similar to the first data action, DA2 -> DP2 on success.
    The following Sequence of actions gives strange behaviours every time,
    1. Execute the first dataaction (DA1) . It works properly , Provides me with correct list of properties.
    2. Execute Second dataaction (DA2). There are no rows which match the criteria. So I get "No Records Found" in Dp2.
    3. execute first data action again, It provides me No records found as well as Errors.
    The errors are,
    " Bind variable does'nt exist"
    Somehow there are two bind parameters set for DA1, while there is only one bind parameter in my where clause. And this happens only on the second time. I'm able to ececute DA1 correctly on the first time.
    Also, Pelase let me know if I Have two create two view instances for these types of queries. Or Is there a way to revert back to all the rows originally in the propertyview1 view object (The view object has no where clauses in the definition), after executing the DA2 or DA1 dataction. I hope i was clear in the above questions.
    Thanks a lot.

    Just a guess: call vo.setWhereClauseParams(null) before setting new parameters.
    From the VO API Doc:
    Note that calling setWhereClause() does not clear the previous settings of WHERE clause parameters. To reset WHERE clause parameters in the middle tier, call ViewObjectImpl.setWhereClauseParams(Object[]) explicitly with a null value. For example:
    vo.setWhereClauseParams(null);

  • ADFC-00008: DataControlFframe has not been found by ADF controller.

    The original error is given in Spanish. In the subject I have tried to translate it to english, but the meaning is the same.
    When running my application, every time it raises an uncontrolled error (FileNotFound or any other java exception, for example) I can not continue working with it because every thing I try to do with it raises always this error message (ADFC-00008). I have to restart the application and then it is ok.
    I think this is a nomal behaviour of ADF because it also happens in other aplications but that bothers my users a lot .
    Could I solve it creating an Exception method in my task flow ? or any other solution ?

    Hi,
    in general you can add exception handlers to all task flows that catch the exception and go an educated redirect. However, this doesn't really help the user as it seems that he/she cannot access the functionality they need. I haven't heard about the problem you describe (at least I am not aware of a bug in this regards). You did not mention the JDeveloper version but since this is a production system I encourage you to create a reproducible testcase and file a service request with support. An application that is deployed should bot complain about missing files at runtime because files are not created per session but per application.
    Frank

Maybe you are looking for

  • Why can't I install Pages anymore?

    I have a late-2011 version of the Macbook Pro, bought in early 2012 and running OS X Lion 10.7.5. Sometime later in the year I paid $19.99 to download Pages from the App Store as it did not automatically come with my Mac. Recently my hard drive broke

  • There is no process to read data written to a pipe

    Hi I have an application server and a database server. I have a process that is running on the application server - that is processing records in a huge file - 2.41 GB. This file contains 20 million records. The process reads and processes one record

  • Data collection task execution in UCMON

    Dear Friends I am using flexible upload method and load from data streams for data upload. Both methods are assigned to my data collection method which in turn is assigned to the task. When i execute the data collection task in consolidation monitor

  • Using DPX Files to Edit in Premiere Pro

    How can I create an Image Sequence out of DPX Files so that I can Edit in Premiere and never have to deal again with the single DPX files?  I have seen a couple forum questions, but none that answered my specific issue.  I have DPX files (50,000 of t

  • Regarding inspection lot

    Hi PP & QM gurus,            In HU enabled scenerion i am working on sales return process. For that i have created HU store location and NonHU store location. In material master i have activated inspection type 05 for return delivery and didnt activa