Create New Detail Rows

I have a jsp page with Master-detail tables. My current create new row button has to set current on one detail row to be able to create a new row. I have some master rows have no detail items. So my create new row button won't show up.How can I create a new detail row without setting a current. Thanks!

I current have a create button goes with each detail row as href="browseMD.do?event=setCurrentRowWithKey&Arg0=<c:out value='${Row.rowKeyStr}' />&event=Create"
I tried to drag 'Create' from the datail table DataControl->Operation->Create, but it won't work if I don't setCurrentRowWithKey.
When I have only one table, I can 'Create' without setting current row on a view object. But the master and details seems to act differently, I couldn't make it work. Have you done any create new row with a master-datail view object?
I'll try to work around with your 'dummy' row suggestion. Thanks!

Similar Messages

  • New detail rows not showing

    Hi,
    Here's a little background on my problem. We have a simple master-detail hierarchy. Both have a ViewObject. The problem lies in the fact that our detail VO has a filter using a bind variable. The bind variable value is determined (most of the time) at the VO execution time: bindParametersForCollection is overriden and passes a value for the bind variable if it is null. In our specific case the variable represents the username of the authenticated user.
    The main complexity lies in the UI. We present all the masters and their children in a single table in edit mode. We are using a tree binding with an accessor from the master node to the child node.
    Example
    Row 1: Master 1 Column 1 | Master 1 Column 2 | Master 1 Detail 1 Column 1 | Master 1 Detail 1 Column 2
                                                 | Master 1 Detail 2 Column 1 | Master 1 Detail 2 Column 2
                                                 | Master 1 Detail 3 Column 1 | Master 1 Detail 3 Column 2
    Row 2: Master 2 Column 1 | Master 2 Column 2 | Master 2 Detail 1 Column 1 | Master 2 Detail 1 Column 2
                                                 | Master 2 Detail 2 Column 1 | Master 2 Detail 2 Column 2
                                                 | Master 2 Detail 3 Column 1 | Master 2 Detail 3 Column 2
    Row 3: Master 3 Column 1 | Master 3 Column 2 | Master 3 Detail 1 Column 1 | Master 3 Detail 1 Column 2
                                                 | Master 3 Detail 2 Column 1 | Master 3 Detail 2 Column 2
                                                 | Master 3 Detail 3 Column 1 | Master 3 Detail 3 Column 2Everything works until we try to create new rows. In our use case, whenever we create a new master row, we also create a fixed number of detail rows. The number of detail rows depends on the context. Whenever we do this, the details rows do not show up in the UI.
    In my experimentations, I found that the problem was caused by the bind variable on the detail VO. Tracing the detail VO query execution I came to the conclusion that unposted rows where rejected from the QueryCollection when there’s a bind variable. The debugger shows that in VO#executeQueryForCollection the QueryCollection#mUnpostedRows list is empty when there’s a bind variable while it is not when there’re no bind variable.
    This is a major issue in our case, so I would like to know if you consider this as a bug (in my opinion it is). If yes, when can we expect a fix or workaround? Otherwise we’ll have to get around this problem by either finding a way to remove the bind variable OR do everything manually in a managed bean (which I would prefer not to have to do).
    I have reproduced the problem in a SRDemo test case. Test case has been sent to Steve Muench.
    Thanx!
    Olivier

    This looks very similar to Bug# 6412612 "New Row Lost After Executequery In Vo W/ Bind Variable In Where Clause", reported in the Tech Preview #2 release, and fixed in Tech Preview #3 (due out before the end of December 2007). Will try confirming with an in-house TP3 build that this fix fixes your testcase, too.

  • Creating master detail rows

    using adf/bc with jsf. I have defined a master detail relationship between two entities. This relationship is a composition relationship. The entities are related by a view link which link the master and detail view objects. i have a need to create/insert a master row and a detail row programmatically "on the fly" so that when the jsp renders, the user will see blank inputs for both the master and detail view objects. The problem is that the primary key of the master record is not known at creation time ( it will be entered by the user) and therefore the detail record cannot be created by the framework because of the unknown value of the parent's primary key. I was hoping the following section in the adf guide would eliminate my problem, but it doesn't appear to:
    This is from section 26.7.3.2 of the adf developer's guide
    Note: An alternative to the programmatic technique discussed
    above, which solves the problem at the J2EE application layer, is the
    use of deferrable constraints at the database layer. If you have control
    over your database schema, consider defining (or altering) your
    foreign key constraints to be DEFERRABLE INITIALLY DEFERRED.
    This causes the database to defer checking the constraint until
    transaction commit time. This allows the application to perform DML
    operations in any order provided that by COMMIT time all appropriate
    related rows have been saved and would alleviate the parent/child
    ordering described above. However, you would still need to write the
    code described in the following sections to cascade-update the foreign
    key values if the parent’s primary key is assigned from a sequence.
    This approach did not help in allowing me to create the detail record without first knowing the value of the parent's primary key record in a composition relationship. The only thing i've found to work is define the relationship as just an association, and not a composition. However, this is a true one to many (composition) relationship and i would like to take advantage of some of the features of the framework that are there when a relationship is defined as a composition relationship. Is there any way to do what i need to do with a composition relationship defined between these two entities? Thanks.

    Hi,
    I guess you need a "Cascading LOVs".
    1) Create viewObject for country values list. Named VO1.
    2) Create viewObject for state values list. Named VO2.
    3) Create view criteria for (bind variable) VO2 which can restrict the result by country.
    4) Create view accessor to get VO1.
    5) Create view accessor to get VO2. Define the bind variable value which can provide country info dynamically. I guess it should be a Groovy expression.
    6) Create country LOV on step 4) view accessor.
    7) Create state LOV on step 5) view accessor.
    Done
    On the view layer, you may enable PPR between country and state attributes.
    Todd

  • Creating a master automatically when creating a detail row

    Hi,
    I'm using Jdev. 11.1.2.3.0
    I have three tables (with their corresponding view objects) with a master/detail/detail relationship.
    The first-level detail table contain a maximum of one row for each master row.
    The ids of the first-level and second-level details are automatically generated with a groovy expression and a sequence.
    The views are added on the page as table(master/)form(detail)/table(detail).
    I have a case where a master record has no details and i need to create a row in the second-level detail table.
    So is there a way to tell ADF to automatically create the first-level detail row (since the master is known) ? or i should manually check that such a row doesn't exists in the first-level detail table and thus create it before creating the row in the second-level detail table?
    Thank you.

    So is there a way to tell ADF to automatically create the first-level detail row (since the master is known) ? or i should manually check that such a row doesn't exists in the first-level detail table and thus create it before creating the row in the second-level detail table?
    Thank you.
    No, there is no such option so you will need to manually create this row.
    Dario

  • New inserted detail row is not showing through accessor

    I have to insert master and detail row. I insert row in master view  and then I get detail row using getAttribute on master view. Then I insert row into detail row. Result is one inserted master row and no data display in detail view.
    How ever in managed bean when I get master view using finditerator and then get detail row also using finditerator on the specific page then rows inserted on master and detail view appear.
    DCIteratorBinding dcIter =             ADFUtils.findIterator("PlotMst1Iterator");
    ViewObject mvo = dcIter.getViewObject();
    mvo.insertRowAtRangeIndex(0, row);
    mvo.setCurrentRow(row);
    Row row = mvo.createRow();
    // DETAIL ACCESSOR  not working
      //  RowSet Pd = (RowSet) row.getAttribute("PlotDtl");
    DCIteratorBinding dcIter2 =       ADFUtils.findIterator("PlotDtl2Iterator");      
    ViewObject dvo = dcIter2.getViewObject();
    nvp.setAttribute("FabricCode",r.getAttribute("FabricCode"));
    Row drow = dvo.createAndInitRow(nvp);      
    dvo.insertRow(drow);   

    Hi,
    its a classical programming mistake you do. You create a new row on the model layer and not the binding layer. The proper way of doing this would be to
    1) either create a method binding for the "CreateInsert" operation in the PageDef file and call it from there
    or
    2) DCIteratorBinding dcIter = ADFUtils.findIterator("PlotMst1Iterator");
        Row rw = dcIter.getRowSetIterator().createRow();
    Same for your attempt to create the detail row. Again you can expose the createInsert operation in the PageDef file or use the RowSetIterator. As you create a master and detail row at the same time, be aware of a constraint problem that may arise from this as you have no guarantee that the master is inserted first. Read this http://docs.oracle.com/cd/E35521_01/web.111230/e16182/bcentities.htm#CEGJAFCF to learn about the problem.
    Note that use case often matters. While I can see where your coding goes wrong, I can't tell if your approach in general could be chosen better
    Frank

  • New details on same page won't insert

    Hi,
    I am not able to get a master-detail-on-same-page to work properly.
    It is created with a wizard.
    After adding the first row and entering data, the row is lost when clicking Apply Changes of the master.
    The row is not inserted in the database.
    When I first add a second row without entering data, the first row is inserted when clicking Apply Changes of the master.
    Also when adding the second row, an extra Apply Changes button appears for the details.
    I am using theme '14. Modern' in APEX 3.0.1 on 10g XE.
    Any help will be welcome,
    Martijn

    Hi again,
    The same problem can be seen when following the Advanced Tutorial topic 'How to Create a Master Detail PDF Report'.
    After following the instructions you get a report with master detail form.
    When all detail rows are deleted, the Apply Changes button of the details table disappears.
    You now can add a fill in a new row. However the Apply Changes button won't save your new detail row. Though adding a next row without entering data will save the first row, and the Apply Changes button reappears.
    So, after all the job is done. However it is not the way of working we will instruct end users.
    Is their a way to get the Apply Changes reappear just after adding the first row?
    Thanks in advance,
    Martijn

  • Insert master and detail rows with Composition assoc generating JBO-26048

    I have the Master and Detail Entity Objects and made an Association linking them as Composition related.
    I have 2 ViewObjects. the MasterViewObject is composed of the Master entity object and 1 other udpateable object. the DetailViewObejct only contains the Detail entity Object.
    I tried to create a row on the masterviewobject and then immeidately create a detail row, and then commit, ADF issues a JBO-26048 error. Constraint "MY_FK" violated during post operation.... ".
    I don't know wahts wrong, but this should not be error should nit be appearing, as ViewObjects and the Links with Composition Association take care of populating the Foreign Keys of the detail. Or am I missing something here?

    The ADF Guide covers this problem, and I have a method that works as well on jdevguru.com. Take a look at the manual first, they have an indepth view on it and how to get it all to work together.
    Kelly

  • Unable to create new rows in master detail

    Hi, I am new to ADF
    I am using Jdeveloper 11.1.1.6, I have two tables customer and contacts, customerId is a foriegnKey in contacts. when customer is deleted all the contacts need to be deleted.
    I have created an association (1 to * customer to contacts) between customerEO & contactsEO (checked Composite association, implement cascade delete option), and a view link (1 to * customerVO to contactsVO).
    I am testing the viewlink through AM, not using JSF
    when i am trying to create new row in details(contacts) table, the customer id is populating in details table.
    when i am trying to commit to database (Details table) i am getting the following error
    java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (CONTACT_CUSTOMERID_FK) violated - parent key not found
    ORA-06512: at line 1
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1111)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
         at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:9417)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6893)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (CONTACT_CUSTOMERID_FK) violated - parent key not found
    ORA-06512: at line 1
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1111)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    Can you please help me how to solve this issue
    Thanks & Regards
    Ani
    Edited by: 987691 on Feb 12, 2013 2:50 PM
    Edited by: 987691 on Feb 12, 2013 2:54 PM

    Here is My CustomerEO.xml file_
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <!---->
    <Entity
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="CustomerEO"
    Version="11.1.1.61.92"
    InheritPersonalization="true"
    DBObjectType="table"
    DBObjectName="XX_CUSTOMER"
    AliasName="CustomerEO"
    BindingStyle="OracleName"
    UseGlueCode="false"
    xmlns:validation="http://xmlns.oracle.com/adfm/validation"
    RowClass="customer.model.CustomerEOImpl">
    <DesignTime>
    <AttrArray Name="_publishEvents"/>
    <Attr Name="_codeGenFlag2" Value="Init|Access"/>
    <Attr Name="_isCodegen" Value="true"/>
    </DesignTime>
    <Attribute
    Name="Customerid"
    ColumnName="CUSTOMERID"
    SQLType="NUMERIC"
    Type="oracle.jbo.domain.DBSequence"
    ColumnType="NUMBER"
    TableName="XX_CUSTOMER"
    PrimaryKey="true"
    IsUpdateable="while_insert"
    DefaultValue="@0"
    Domain="oracle.jbo.domain.DBSequence"
    RetrievedOnInsert="true">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22"/>
    </DesignTime>
    </Attribute>
    <Attribute
    Name="Firstname"
    IsNotNull="true"
    Precision="50"
    ColumnName="FIRSTNAME"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Firstname_Rule_0"
    ResId="customer.model.CustomerEO.Firstname_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="Firstname_Rule_1"
    ResId="customer.model.CustomerEO.Firstname_Rule_1"
    ValName="Precision : (50)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Firstname_Rule_2"
    OnAttribute="Firstname"
    Pattern="^[a-zA-Z(\s)]*$"
    Inverse="false"
    ResId="customer.model.CustomerEO.Firstname_Rule_2"/>
    </Attribute>
    <Attribute
    Name="Middlename"
    Precision="10"
    ColumnName="MIDDLENAME"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="10"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Middlename_Rule_0"
    ResId="customer.model.CustomerEO.Middlename_Rule_0"
    ValName="Precision : (10)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Middlename_Rule_1"
    ResId="customer.model.CustomerEO.Middlename_Rule_1"
    OnAttribute="Middlename"
    Pattern="^[a-zA-Z(\s)]*$"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="Lastname"
    IsNotNull="true"
    Precision="50"
    ColumnName="LASTNAME"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Lastname_Rule_0"
    ResId="customer.model.CustomerEO.Lastname_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="Lastname_Rule_1"
    ResId="customer.model.CustomerEO.Lastname_Rule_1"
    ValName="Precision : (50)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Lastname_Rule_2"
    ResId="customer.model.CustomerEO.Lastname_Rule_2"
    OnAttribute="Lastname"
    Pattern="^[a-zA-Z(\s)]*$"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="Dob"
    IsNotNull="true"
    ColumnName="DOB"
    SQLType="TIMESTAMP"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Dob_Rule_1"
    ResId="customer.model.CustomerEO.Dob_Rule_1"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:MethodValidationBean
    Name="Dob_Rule_0"
    ResId="customer.model.CustomerEO.Dob_Rule_2"
    MethodName="validateDob"/>
    </Attribute>
    <Attribute
    Name="Address1"
    IsNotNull="true"
    Precision="100"
    ColumnName="ADDRESS1"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="100"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Address1_Rule_0"
    ResId="customer.model.CustomerEO.Address1_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="Address1_Rule_1"
    ResId="customer.model.CustomerEO.Address1_Rule_1"
    ValName="Precision : (100)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Address1_Rule_2"
    ResId="customer.model.CustomerEO.Address1_Rule_2"
    OnAttribute="Address1"
    Pattern="^[a-z0-9A-Z(\s)]*$"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="Address2"
    Precision="100"
    ColumnName="ADDRESS2"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="100"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Address2_Rule_0"
    ResId="customer.model.CustomerEO.Address2_Rule_0"
    ValName="Precision : (100)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Address2_Rule_1"
    ResId="customer.model.CustomerEO.Address2_Rule_1"
    OnAttribute="Address2"
    Pattern="^[a-z0-9A-Z(\s)]*$"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="City"
    IsNotNull="true"
    Precision="30"
    ColumnName="CITY"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="City_Rule_0"
    ResId="customer.model.CustomerEO.City_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="City_Rule_1"
    ResId="customer.model.CustomerEO.City_Rule_1"
    ValName="Precision : (30)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="City_Rule_2"
    ResId="customer.model.CustomerEO.City_Rule_2"
    OnAttribute="City"
    Pattern="^[a-zA-Z(\s)]*$"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="Country"
    IsNotNull="true"
    Precision="30"
    ColumnName="COUNTRY"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Country_Rule_0"
    ResId="customer.model.CustomerEO.Country_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="Country_Rule_1"
    ResId="customer.model.CustomerEO.Country_Rule_1"
    ValName="Precision : (30)"
    Subtype="PRECISION_SCALE"/>
    </Attribute>
    <Attribute
    Name="State"
    IsNotNull="true"
    Precision="30"
    ColumnName="STATE"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="State_Rule_0"
    ResId="customer.model.CustomerEO.State_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="State_Rule_1"
    ResId="customer.model.CustomerEO.State_Rule_1"
    ValName="Precision : (30)"
    Subtype="PRECISION_SCALE"/>
    </Attribute>
    <Attribute
    Name="Gender"
    IsNotNull="true"
    Precision="5"
    ColumnName="GENDER"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="5"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Gender_Rule_0"
    ResId="customer.model.CustomerEO.Gender_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="Gender_Rule_1"
    ResId="customer.model.CustomerEO.Gender_Rule_1"
    ValName="Precision : (5)"
    Subtype="PRECISION_SCALE"/>
    </Attribute>
    <Attribute
    Name="Primaryphone"
    IsNotNull="true"
    Precision="12"
    ColumnName="PRIMARYPHONE"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER"
    DefaultValue="###-###-####">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="12"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Primaryphone_Rule_0"
    ResId="customer.model.CustomerEO.Primaryphone_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="Primaryphone_Rule_1"
    ResId="customer.model.CustomerEO.Primaryphone_Rule_1"
    ValName="Precision : (12)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Primaryphone_Rule_2"
    ResId="customer.model.CustomerEO.Primaryphone_Rule_2"
    OnAttribute="Primaryphone"
    Pattern="[0-9]{3}-?[0-9]{3}-?[0-9]{4}"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="Secondaryphone"
    Precision="12"
    ColumnName="SECONDARYPHONE"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER"
    DefaultValue="###-###-####">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="12"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Secondaryphone_Rule_0"
    ResId="customer.model.CustomerEO.Secondaryphone_Rule_0"
    ValName="Precision : (12)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Secondaryphone_Rule_1"
    ResId="customer.model.CustomerEO.Secondaryphone_Rule_1"
    OnAttribute="Secondaryphone"
    Pattern="[0-9]{3}-?[0-9]{3}-?[0-9]{4}"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="Email"
    IsNotNull="true"
    Precision="100"
    ColumnName="EMAIL"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="100"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Email_Rule_0"
    ResId="customer.model.CustomerEO.Email_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="Email_Rule_1"
    ResId="customer.model.CustomerEO.Email_Rule_1"
    ValName="Precision : (100)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Email_Rule_2"
    ResId="customer.model.CustomerEO.Email_Rule_2"
    OnAttribute="Email"
    Pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="Fax"
    Precision="12"
    ColumnName="FAX"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER"
    DefaultValue="###-###-####">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="12"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Fax_Rule_0"
    ResId="customer.model.CustomerEO.Fax_Rule_0"
    ValName="Precision : (12)"
    Subtype="PRECISION_SCALE"/>
    <validation:RegExpValidationBean
    Name="Fax_Rule_1"
    ResId="customer.model.CustomerEO.Fax_Rule_1"
    OnAttribute="Fax"
    Pattern="[0-9]{3}-?[0-9]{3}-?[0-9]{4}"
    Inverse="false"/>
    </Attribute>
    <Attribute
    Name="Languages"
    IsNotNull="true"
    Precision="50"
    ColumnName="LANGUAGES"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="XX_CUSTOMER">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <validation:PreDefinedValidationBean
    Name="Languages_Rule_0"
    ResId="customer.model.CustomerEO.Languages_Rule_0"
    ValName="Mandatory"
    Subtype="MANDATORY"/>
    <validation:PreDefinedValidationBean
    Name="Languages_Rule_1"
    ResId="customer.model.CustomerEO.Languages_Rule_1"
    ValName="Precision : (50)"
    Subtype="PRECISION_SCALE"/>
    </Attribute>
    <AccessorAttribute
    Name="ContactsEO"
    Association="customer.model.CustomerEOtoContactsEO"
    AssociationEnd="customer.model.CustomerEOtoContactsEO.ContactsEO"
    AssociationOtherEnd="customer.model.CustomerEOtoContactsEO.CustomerEO"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false"/>
    <Key
    Name="SysC007004">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007004"/>
    <Attr Name="_checkCondition" Value='"CUSTOMERID" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes"/>
    </Key>
    <Key
    Name="SysC007005">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007005"/>
    <Attr Name="_checkCondition" Value='"FIRSTNAME" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Firstname"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007006">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007006"/>
    <Attr Name="_checkCondition" Value='"LASTNAME" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Lastname"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007007">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007007"/>
    <Attr Name="_checkCondition" Value='"DOB" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Dob"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007008">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007008"/>
    <Attr Name="_checkCondition" Value='"ADDRESS1" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Address1"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007009">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007009"/>
    <Attr Name="_checkCondition" Value='"CITY" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.City"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007010">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007010"/>
    <Attr Name="_checkCondition" Value='"STATE" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.State"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007011">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007011"/>
    <Attr Name="_checkCondition" Value='"COUNTRY" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Country"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007012">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007012"/>
    <Attr Name="_checkCondition" Value='"GENDER" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Gender"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007013">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007013"/>
    <Attr Name="_checkCondition" Value='"PRIMARYPHONE" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Primaryphone"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007014">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007014"/>
    <Attr Name="_checkCondition" Value='"EMAIL" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Email"/>
    </AttrArray>
    </Key>
    <Key
    Name="SysC007015">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="SYS_C007015"/>
    <Attr Name="_checkCondition" Value='"LANGUAGES" IS NOT NULL'/>
    <Attr Name="_isCheck" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Languages"/>
    </AttrArray>
    </Key>
    <Key
    Name="XxCustomerdetailsPk"
    PrimaryKey="true">
    <DesignTime>
    <Attr Name="_DBObjectName" Value="XX_CUSTOMERDETAILS_PK"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item Value="customer.model.CustomerEO.Customerid"/>
    </AttrArray>
    </Key>
    <ResourceBundle>
    <PropertiesBundle
    PropertiesFile="customer.model.CustomerModelBundle"/>
    </ResourceBundle>
    </Entity>

  • Error while creating a new entity row

    This exception raise when i attempt to set an attribute in overwrite entity's create() method. Please show me what mistake did i take ? Thanks !!!
    My error stack says:
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ManualEntry.
         void oracle.jbo.server.ViewRowStorage.create(oracle.jbo.AttributeList)
              ViewRowStorage.java:778
         void oracle.jbo.server.ViewRowImpl.create(oracle.jbo.AttributeList)
              ViewRowImpl.java:280
         oracle.jbo.server.ViewRowImpl oracle.jbo.server.ViewObjectImpl.createInstance(oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              ViewObjectImpl.java:2105
         oracle.jbo.server.RowImpl oracle.jbo.server.QueryCollection.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              QueryCollection.java:771
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1438
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1476
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRow()
              ViewRowSetImpl.java:1460
         oracle.jbo.Row oracle.jbo.server.ViewObjectImpl.createRow()
              ViewObjectImpl.java:5400
         void oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt()
              JUCtrlActionBinding.java:315
         void oracle.jbo.uicli.controls.JUNavigationBar.doAction(int)
              JUNavigationBar.java:257
         void oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(java.awt.event.ActionEvent)
              JUNavigationBar.java:228
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
              BasicButtonListener.java:216
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85
    ## Detail 0 ##
    java.lang.NullPointerException
         void oracle.jbo.server.ViewDefImpl.processEntityAssociations()
              ViewDefImpl.java:3268
         com.sun.java.util.collections.ArrayList oracle.jbo.server.ViewAttributeDefImpl.getEntityAssociationReferences()
              ViewAttributeDefImpl.java:566
         void oracle.jbo.server.ViewObjectImpl.associatedReferenceEntities(oracle.jbo.server.ViewAttributeDefImpl, com.sun.java.util.collections.ArrayList)
              ViewObjectImpl.java:7697
         void oracle.jbo.server.ViewObjectImpl.sourceChanged(oracle.jbo.server.EntityEvent)
              ViewObjectImpl.java:7199
         void oracle.jbo.server.EntityCache.deliverEntityEvent(oracle.jbo.server.EntityEvent)
              EntityCache.java:504
         void oracle.jbo.server.EntityCache.notifyColumnChange(oracle.jbo.server.EntityImpl, int[], java.lang.Object[])
              EntityCache.java:534
         void oracle.jbo.server.EntityImpl.notifyAttributesChanged(int[], java.lang.Object[])
              EntityImpl.java:4034
         void oracle.jbo.server.EntityImpl.setAttributeValue(int, java.lang.Object)
              EntityImpl.java:1984
         void oracle.jbo.server.AttributeDefImpl.set(oracle.jbo.Row, java.lang.Object)
              AttributeDefImpl.java:1700
         void oracle.jbo.server.EntityImpl.setAttributeInternal(int, java.lang.Object)
              EntityImpl.java:941
         void vn.com.tivn.ticas.bc.ManualEntryImpl.setBatchlogid(oracle.jbo.domain.Number)
              ManualEntryImpl.java:152
         void vn.com.tivn.ticas.bc.ManualEntryImpl.create(oracle.jbo.AttributeList)
              ManualEntryImpl.java:128
         void oracle.jbo.server.EntityImpl.callCreate(oracle.jbo.AttributeList)
              EntityImpl.java:380
         void oracle.jbo.server.ViewRowStorage.create(oracle.jbo.AttributeList)
              ViewRowStorage.java:765
         void oracle.jbo.server.ViewRowImpl.create(oracle.jbo.AttributeList)
              ViewRowImpl.java:280
         oracle.jbo.server.ViewRowImpl oracle.jbo.server.ViewObjectImpl.createInstance(oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              ViewObjectImpl.java:2105
         oracle.jbo.server.RowImpl oracle.jbo.server.QueryCollection.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              QueryCollection.java:771
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1438
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1476
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRow()
              ViewRowSetImpl.java:1460
         oracle.jbo.Row oracle.jbo.server.ViewObjectImpl.createRow()
              ViewObjectImpl.java:5400
         void oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt()
              JUCtrlActionBinding.java:315
         void oracle.jbo.uicli.controls.JUNavigationBar.doAction(int)
              JUNavigationBar.java:257
         void oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(java.awt.event.ActionEvent)
              JUNavigationBar.java:228
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
              BasicButtonListener.java:216
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85

    It's most likely a bug.
    See:
    Urgent:  nullpointer exception in postChanges
    Sascha

  • JBO-25017: Error while creating a new entity row.

    [[email protected]]
    I'm trying to simply duplicate some records using essentially the code below:
      public static void copyUserAttributeValues2(final ApplicationModule p_appModule, final Long p_lDestinationId,
                                                 final String p_strDestinationType, final Long p_lSourceId) {
        final ViewObject l_viewObject = p_appModule.findViewObject("UserAttributeValuesCopyVO1");
        l_viewObject.setWhereClause(null);
        l_viewObject.setNamedWhereClauseParam("bindTargetId", new Number(p_lSourceId));
        l_viewObject.executeQuery();
        while (l_viewObject.hasNext()) {
          final Row l_newDuplicateRow = l_viewObject.createAndInitRow(l_viewObject.next());  // <- Error here.
          l_newDuplicateRow.setAttribute(VOConstants.VO_ACCESS_SOURCE_ID, new Number(p_lDestinationId));
          l_newDuplicateRow.setAttribute(VOConstants.VO_USER_ATTRIBUTE_ASSIGN_VALUE_TARGET_TYPE, p_strDestinationType);
          l_viewObject.insertRow(l_newDuplicateRow);
          l_viewObject.next(); // need to skip otherwise we'll get into an infinite loop.
      }When I run this I get the following:
    WARNING: ADF: Adding the following JSF error message: Error while creating a new entity row for UserAttributeValueEO.
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for UserAttributeValueEO.
         at oracle.jbo.server.ViewRowStorage.processRowCreateExceptions(ViewRowStorage.java:3287)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1134)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:413)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:430)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:4722)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1764)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2210)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2256)
         at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2216)
         at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:9410)
         at oracle.apps.epm.fcc.model.applicationModule.TemplateManager.copyUserAttributeValues(TemplateManager.java:298)
         at oracle.apps.epm.fcc.model.applicationModule.CalendarAMImpl.initDayLabels(CalendarAMImpl.java:2381)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:561)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2112)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3015)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:256)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2119)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:392)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:216)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:200)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:136)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:140)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:874)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:750)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:218)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:96)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1281)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:95)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:324)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:279)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:127)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:88)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:114)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:143)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:143)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:546)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:246)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:120)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at java.lang.Class.isAssignableFrom(Native Method)
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:404)
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:360)
         at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:818)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:850)
         at oracle.jbo.rules.JboAbstractValidator.raiseException(JboAbstractValidator.java:393)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:837)
         at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:258)
         at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:372)
         at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:878)
         at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:849)
         at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:2842)
         at oracle.jbo.server.EntityImpl.validateAttribute(EntityImpl.java:12111)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1098)
         ... 90 more
    ## Detail 0 ##
    java.lang.NullPointerException
         at java.lang.Class.isAssignableFrom(Native Method)
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:404)
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:360)
         at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:818)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:850)
         at oracle.jbo.rules.JboAbstractValidator.raiseException(JboAbstractValidator.java:393)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:837)
         at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:258)
         at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:372)
         at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:878)
         at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:849)
         at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:2842)
         at oracle.jbo.server.EntityImpl.validateAttribute(EntityImpl.java:12111)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1098)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:413)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:430)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:4722)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1764)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2210)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2256)
         at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2216)
         at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:9410)
         at oracle.apps.epm.fcc.model.applicationModule.TemplateManager.copyUserAttributeValues(TemplateManager.java:298)
         at oracle.apps.epm.fcc.model.applicationModule.CalendarAMImpl.initDayLabels(CalendarAMImpl.java:2381)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:561)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2112)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3015)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:256)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2119)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:392)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:216)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:200)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:136)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:140)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:874)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:750)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:218)
         at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:96)
         at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1281)
         at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:95)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:324)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:279)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:127)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:88)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:114)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:143)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:143)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3015)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2736)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:546)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:246)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:120)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)I have CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN and OBJECT_VERSION_NUMBER all defined in my UserAttributeValueEO. CREATED_BY and LAST_UPDATE_LOGIN are Nullable.

    Sorry wrong forum.

  • JBO-25017: Error while creating a new entity row for ValidationEO

    Hi
    I am facing the same issue,but i am using following code in controller file:
    ValidationAMImpl newam=(ValidationAMImpl)pageContext.getApplicationModule(webBean);
    ValidationVOImpl newvo = newam.getValidationVO1();
    if (newvo.getFetchedRowCount() == 0)
    // Save the original max fetch size just once -- processRequest() could be
    // re-entered.
    int maxFetchSize =newvo.getMaxFetchSize();
    if (maxFetchSize != 0)
    newvo.putValue("poOrigMaxFetchSize", new Integer(maxFetchSize));
    newvo.setMaxFetchSize(0);
    // To keep the inserted rows after commit.
    newvo.executeQuery();
    and the error while clicking Add new row button is
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ValidationEO.
    at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at OA.jspService(_OA.java:75)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1388)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance2(EntityDefImpl.java:1338)
    at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1639)
    at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:269)
    at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1126)
    at oracle.jbo.server.ViewDefImpl.newInstance(ViewDefImpl.java:997)
    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2782)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1304)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1869)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1910)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
    at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6580)
    at oracle.apps.fnd.framework.webui.event.OAAdvancedTableEventHandler.handleAddRowsEvent(Unknown Source)
    at oracle.apps.fnd.framework.webui.event.OAAdvancedTableEventHandler.handleEvent(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at OA.jspService(_OA.java:75)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1388)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance2(EntityDefImpl.java:1338)
    at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1639)
    at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:269)
    at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1126)
    at oracle.jbo.server.ViewDefImpl.newInstance(ViewDefImpl.java:997)
    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2782)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1304)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1869)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1910)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
    at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6580)
    at oracle.apps.fnd.framework.webui.event.OAAdvancedTableEventHandler.handleAddRowsEvent(Unknown Source)
    at oracle.apps.fnd.framework.webui.event.OAAdvancedTableEventHandler.handleEvent(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at OA.jspService(_OA.java:75)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    solution to this will be higly appreciated

    java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1388)
    Check your EO code, looks like an exception creating the instance, ( check the constructor code of your EO impl ).

  • JBO-25017: Error While Creating a new entity row for Table Name

    Hi,
    I am facing an issue in Jdeveloper when trying to display records on a custom OAF page.
    Exception Details._
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for Emp.
    *     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)*
    *     at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1064)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2651)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    *## Detail 0 ##*
    java.lang.InstantiationException
    *     at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)*
    *     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)*
    *     at java.lang.Class.newInstance0(Class.java:308)*
    *     at java.lang.Class.newInstance(Class.java:261)*
    *     at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1048)*
    *     at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)*
    *     at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)*
    *     at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)*
    *     at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)*
    *     at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2643)*
    *     at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2547)*
    *     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:1891)*
    *     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1745)*
    *     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1257)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2850)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2495)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2357)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2692)*
    *     at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6361)*
    *     at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1849)*
    *     at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:206)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1493)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.preRender(OATableHelper.java:2133)*
    *     at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:623)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:375)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:2933)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2641)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    java.lang.InstantiationException
    *     at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)*
    *     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)*
    *     at java.lang.Class.newInstance0(Class.java:308)*
    *     at java.lang.Class.newInstance(Class.java:261)*
    *     at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1048)*
    *     at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)*
    *     at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)*
    *     at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)*
    *     at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)*
    *     at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2643)*
    *     at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2547)*
    *     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:1891)*
    *     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1745)*
    *     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1257)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2850)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2495)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2357)*
    *     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)*
    *     at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2692)*
    *     at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6361)*
    *     at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1849)*
    *     at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:206)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1493)*
    *     at oracle.apps.fnd.framework.webui.OATableHelper.preRender(OATableHelper.java:2133)*
    *     at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:623)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)*
    *     at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:375)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)*
    *     at oracle.cabo.ui.BaseRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.BaseUINode.render(Unknown Source)*
    *     at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:2933)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2641)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2459)*
    *     at OA.jspService(OA.jsp:48)*
    *     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)*
    *     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)*
    *     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)*
    *     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)*
    *     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)*
    *     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)*
    *     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)*
    *     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)*
    *     at java.lang.Thread.run(Thread.java:534)*
    Procedure Followed is :_
    1. Created a VO using a select Query on custom table.
    2. Created an AM and attached the above created VO to this.
    3. A custom OAF page is created and above created AM is attached to the main region.
    4. created an Advanced Table in the region and all the columns in table are mapped to their respective ones in the VO query.
    5. Tried both the cases - Generate VOImpl and Generate VORowImpl.
    6. In the controller class , Page Request Object for AM is created and trying to invoke method in AM.
    7. In AM a method is written for creating an object for VO and executeQuery() operation is done.
    As per the Solution given in the other threads.... included also WHO columns in the VO Query.
    Please provide us the solution as soon as possible.
    Thanks in advance.
    Sri Harsha

    Try the [OA Forum|http://forums.oracle.com/forums/forum.jspa?forumID=210] !
    Timo

  • How can i use row set iterator to create multiple dummy detail rows upfront

    Hello i am new to ADF and jdeveloper and have a Forms 9i/PLSQL background.
    I have a 1 to many master to detail view link and 2 vo's one for each of the master and detail table.
    I am trying unsuccsessfully to create 7 unique detail rows up front to populate at a later stage.
    I have created a master record with primary key being staff number and week ending date.
    i then use code below to try and create 7 detail records - P.S i have trimmed it to the first 2 for demonstration.
    I am using
    RowSetIterator rsi = this.mydetailVO.getRowSetIterator();
    Row newRow1=rsi.createRow();
    newRow1.setAttribute("Staff Num","123456A");
    newRow1.setAttribute("Week_Ending_Date", "2010-01-01");
    newRow1.setAttribute("Claim_Date", "2010-01-01");
    newRow1.setAttribute("Day", "Sun");
    rsi.insertRow(newRow1);
    Row newRow2=rsi.createRow();
    newRow2.setAttribute("Staff Num","123456A");
    newRow2.setAttribute("Week_Ending_Date", "2010-01-01");
    newRow2.setAttribute("Claim_Date", "2010-01-02");
    newRow2.setAttribute("Day", "Sat");
    rsi.insertRow(newRow2);
    However it does create two rows but it always writes over the first row with the details of the second row so they are not unique.
    How can i get a new unique row inserted with different details to the firat and how then do i access it uniquely.
    Thanks

    John thanks for reply.
    I have tried the following and still i get 2 rows created but the first one gets overwritten with the last one. I'm confused as to why the inbuilt insert row doesnt move it on to the next available row. Any idea what i'm not doing in between inserting rows?
    ViewObject vo1 = this.getmyVO1();
    vo1.executeQuery();
    Row newRow1 = vo1.createRow();
    newRow1.setAttribute("Staff Number","123456A");
    newRow1.setAttribute("Week_end_date", "2010-04-04");
    newRow1.setAttribute("Date", "2010-04-01");
    newRow1.setAttribute("Day", "Sun");
    vo1.insertRow(newRow1);
    Row newRow2 = vo1.createRow();
    newRow2.setAttribute("Staff Number","123456A");
    newRow2.setAttribute("Week_end_date", "2010-04-04");
    newRow2.setAttribute("Date", "2010-04-03");
    newRow2.setAttribute("Day", "Sat");
    vo1.insertRow(newRow2);
    P.S Yes they are dates but i made them strings for the time being until i get this working thanks for noticing.
    Edited by: user13012264 on 20-Apr-2010 04:19
    Edited by: user13012264 on 20-Apr-2010 04:20

  • Create detail rows programmatically

    I'm using jsf/adf bc. I have a situation in which when my jsp is rendered, it displays inputs for each row of a master/detail/detail arrangement. Each level is connected via a view link. So, before the page is rendered, in my app module class, i'm trying to do the create/insert of each row, in the order they need to be created. This is basically how i'm doing it.
    ViewObject masterVO = getMasterVO();
    Row masterRow = masterVO .createRow();
    masterVO .insertRow(masterRow);
    ViewObject detail1VO = getDetail1VO();
    Row detail1Row = detail1VO.createRow();
    detail1VO.insertRow(detail1Row);
    ViewObject detail2VO = getDetail2VO();
    Row detail2Row = detail2VO.createRow();
    detail2VO.insertRow(detail2Row);
    when the page is rendered, i see inputs for fields of all vo 3 rows. however, when i enter valid values for these fields, i get an error which basically is telling me that i haven't entered in values for the detail2 vo row. It's almost as if the 3rd vo row that's displaying on the page is not the row that was created programmatically, if that makes any sense. If i comment out the code to create the 3rd vo row, and just create new master and detail records, things work fine. What do i need to do to create/insert new vo rows for all 3 levels?

    thx for the suggestion john. i tried that approach, but now get a slightly different error: JBO-25030: Failed to find or invalidate owning entity:
    Apparently, for the last level detail record created, it's parent cannot be found. Again, when the page renders, i see empty input fields for each row that i've programmatically created, but committing the transaction after entering valid values causes problems...It's as if the new rows that are being displayed aren't really associated with each other, when they should be.

  • Error while creating a new entity row for LoginPageEO.jbo.RowCreateExceptio

    hi all, i am new to OAF i have created a login page and trying to validate to a custom table which had two columns username and password, i am calling function from controller class which is in AM and from AM in turn i am calling function in VOimpl.java file where i am executing my query with whereClause, i am passing two parametere username and password to this function.
    if ((uname != null) && (!("".equals(uname.trim()))))
    whereClause.append(" UNAME = :");
    whereClause.append(bindCount++);
    parameters.addElement(uname);
    clauseCount++;
    if ((pass!= null) && (!("".equals(pass.trim()))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append(" PASSWORD = :");
    whereClause.append(bindCount++);
    parameters.addElement(pass);
    clauseCount++;
    setWhereClause(whereClause.toString());
    if (bindCount > 0)
    Object[] params = new Object[bindCount];
    // the copyInto() is 1.1.8 compliant which is required by ARU
    parameters.copyInto(params);
    setWhereClauseParams(params);
    //System.out.println(getQuery());
    executeQuery();
    //System.out.println(getRowCount())
    when i call this from login page i am getting
    Error - oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for LoginPageEO.
    Can any one help me out.

    If your requirement is not to update any DB Table then don't use an EO. I would suggest the following for your requirement of validating the username and password.
    - Create a VO that has the following query. Do not select any EO during the VO creation.
              SELECT 'x'
              FROM  <CUSTOM TABLE>
              WHERE <USERNAME COL> = :1
                  AND  <PASSWORD COL> = :2
            - Have the initQuery(..) Method in your VOImpl, that takes the username and password. Binds them to the VO and executes the query.
    - Have a method in your AM to take the username and password as parameters. Make a call to the above VO::initQuery(..)
    - In your controller's processFormRequest(..) call this AM Method upon the submit button action.
    This should work smoothly.
    The following is just for triaging the error that you have. The above steps, should help you achieve your requirement by itself, the below steps would not be required.
    Coming back to your issue. Any custom table should have the standard WHO Columns.
    - Modify the custom table to have these who columns.
    - In the EO Wizard, synchronize the EO to reflect the DB Structure.
    - Make sure the EO Attributes are marked updatable.
    Cause of your issue: Through you are not creating EO rows programatically, whenever a VO is based on an EO, upon execution of the VO query, EO's are automatically created, based on the number of rows returned by the VO Query. So internally its failing to created the EO Rows. On of the common reason would be that it creates the EO row, but cannot set the attributes from the VO, because the EO Attribute is readonly.
    Hope this clarifies.

Maybe you are looking for

  • How to show in a report a pdf blob from database

    Hi all We are working on report 6i and report 10. We have a report wich needs to show a blob field from database that storages a pdf (type application/pdf). OLE2 is deprecated. The pdf blob field must be displayed in a preview and must be printed. In

  • Need Help with My New Ecommerce Site

    Hi all, I am new here. Nice to meet you. I am a beginner in web design, so I need your help regarding the design of my site (www.bestopencarttemplates.com). I really appreciate your help If you can kindly offer me some valuable suggestions about the

  • Can I turn off Genius & On-The-Go on iPod

    There are 2 items in my iPod 5G Music Playlists that I would like to get rid of: 1 Genius 2. On-The-Go I have my iPod set to sync only selected playtlists and the 2 mentioned above are not even in my iTunes playlist. I am sure that these are 2 ROM co

  • How to open IE tab in Firefox on a Mac?

    I need to open an IE tab on my Mac, have downloaded Firefox but can't seem to work out how to open the tab/says I don't have the right platform?

  • Linksys Router Slowing Apple TV Downloads, but Nothing Else

    So here is my problem. I have very fast cable modem broadband (16/2). But Apple TV HD content seems to download at less than 1Mbps. My system is cable modem (Scientific Atlanta) to Linksys WRT54G (broadcasting on channel 6; no significant strong near