Data not save to database

hi,
I need to customize a standard form, so I add a new window(W) and two blocks. Blocks have master(M)-detail(D) relations. Also there is a new button(B) in one standard block to call W.
Of course, A and B are database blocks.
When B is pressed, I read one standard block, search more information in database and then populate A and B. The user can modify data or save directly.
The problem occurs when the users save. Nothing happens.
When the save button is pressed appears the FRM-40400 message (X records save) like everithing goes well, but really nothing appears in database tables.
Thans for help.
David.

I don't know what to do now.
I try everything.
DML Data Target Type property is OK.
Database Item/Block properties are OK.
I can find with my tests that the problem occurs only saving data. If table has data and I do an execute_query, the blocks populate ok.
I'm thinking that standard libraries, only let to do a commit to such fields or blocks with a concrete status. Is this posible?
Thanks to all.

Similar Messages

  • Data not populating in database

    Hi All
    I am trying to insert data into a custom table but unable to do so...
    Steps followed
    1. Created a custom table
    2. Created an EO based on the table
    3. Created a VO associated with the EO.
    4. Created AM and associated the VO with it.
    5. Created page and associated it with the AM.
    Controller Code
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        am.invokeMethod("initEmployee");
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        if("Next".equals(pageContext.getParameter("event")))
           pageContext.setForwardURL("OA.jsp?page=/xx0801/oracle/apps/per/selfservice/val_assignment/webui/PhonePG", null, (byte)0, null, null, true, "N", (byte)99);
    if("Save".equals(pageContext.getParameter("event")))
      am.invokeMethod("createEmployee");
      }AMImpl Code
    public employeeAMImpl()
        public void initEmployee()
          OAViewObject vo = getEmployeeVO1();
            if(!vo.isPreparedForExecution())
               {vo.executeQuery();
            Row row=vo.createRow();
                vo.insertRow(row);
            row.setNewRowState(Row.STATUS_INITIALIZED);
        public void createEmployee()
        getTransaction().commit();
    ...A new row does get created in the table but the data columns are empty only the creation date, created by, last_updated_by etc are getting populated.
    Thanks

A: Data not populating in database

I have put the debug statement as follows:
public void createEmployee()
    EmployeeVORowImpl emp = (EmployeeVORowImpl)getEmployeeVO1().getCurrentRow();
   String name = emp.getEmployeeNumber().toString();  
   System.out.println("Emp Num: " + name);
    getTransaction().commit();
    }The employee number got printed in the messages. However the row still doesnot have any data except the created by, creation date etc
Edited by: Subhasish on Jan 12, 2011 3:38 AM

I have put the debug statement as follows:
public void createEmployee()
    EmployeeVORowImpl emp = (EmployeeVORowImpl)getEmployeeVO1().getCurrentRow();
   String name = emp.getEmployeeNumber().toString();  
   System.out.println("Emp Num: " + name);
    getTransaction().commit();
    }The employee number got printed in the messages. However the row still doesnot have any data except the created by, creation date etc
Edited by: Subhasish on Jan 12, 2011 3:38 AM

  • Few Data not save

    only two fields data not save. I have placed a script it works fine but when open after saving file, the fields become empty. Why such happen?
    calculation event:
    var a = Itemnumber.rawValue;
    var rowb = xfa.resolveNodes("form1.page2.Subform1.Table1.Row2[*]");
    var rowc = xfa.resolveNodes("form1.page2.Subform2.Table1.Row2[*]");
    var rowd = xfa.resolveNodes("form1.page2.Subform3.Table1.Row2[*]");
    for (var i = 0; i < rowb.length; i++)
    var b = rowb.item(i).Calculation.rawValue;
    var bb = rowb.item(i).Total_dispensing.rawValue;
    if(a==b)
    var x= bb;
    for (var i = 0; i < rowc.length; i++)
    var c = rowc.item(i).Initial.rawValue;
    var cc = rowc.item(i).Site2.rawValue;
    if(a==c)
    var y= cc;
    for (var i = 0; i < rowd.length; i++)
    var d = rowd.item(i).ActualPatients.rawValue;
    var dd = rowd.item(i).Actual_patient.rawValue;
    if(a==d)
    var z = dd;
    this.rawValue = x+y+z;
    if(this.rawValue == 0)
    this.rawValue ="";
    in addition I am using acrobat X pro. another field data in same form get saved.

    I've extended my sample to handle the Actual_patient figures as well, so it now looks like;
    if (!Itemnumber.isNull)
        this.rawValue = 0;                          
        var rowb = xfa.resolveNode("form1.page1.subform2.Table2.Row2.(Calculation.rawValue == '"+Itemnumber.rawValue+"')");
        if (rowb !== null)
            this.rawValue += rowb.Total_dispensing.rawValue;
        var rowc = xfa.resolveNode("form1.page1.subform3.Table3.Row2.(ActualPatients.rawValue == '"+Itemnumber.rawValue+"')");
        if (rowc !== null)
            this.rawValue += rowc.Actual_patient.rawValue;
    And if Itemnumber can be duplicated then it would look like;
    this.rawValue = 0;
    if (!Itemnumber.isNull)
        var rowb = xfa.resolveNodes("form1.page1.subform2.Table2.Row2.(Calculation.rawValue == '"+Itemnumber.rawValue+"')");
        for (var i=0; i<rowb.length; i++)
            this.rawValue += rowb.item(i).Total_dispensing.rawValue;
        var rowb = xfa.resolveNodes("form1.page1.subform3.Table3.Row2.(ActualPatients.rawValue == '"+Itemnumber.rawValue+"')");
        for (var i=0; i<rowb.length; i++)
            this.rawValue += rowb.item(i).Actual_patient.rawValue;
    I have updated my sample https://acrobat.com/#d=uQmAFWaVoHydJQ1Xtf0QhQ
    I'm still not sure how the Itemnumber, Calculation and ActualPatient values are created in my sample you have to key them in, once keyed in the calculation match the expected output you posted.
    Regards
    Bruce

  • Data not updating in database

    Friends i have table and i have created a sequence on basis of that table.
    For 1st page i have created an html region and made few items there and a save button.
    I am filling data to the fields in page 1 and clicking the save button. In save button i have passed the address of the items of 1st page to items of 2nd page which contains the same field of page 1 and few more additional field.
    the 2nd page which i have made is on basis of form on a table or view and taken exsisting sequence there. When i clicking the submit button in page 2 it is not updating my database and throwing error called unable to fetch row. Any suggestions on this?

    Lev addition to this i wanted when my create button in 2nd page get clicks my database gets updated and also a query runs which checks the same data of combination variant_type,model_code,year_manuafacture. It means if i have 2 records in database with same variant_type,model_code,year_manufacture then in the field how_many in page 2 count of 3 gets updated and the other field solution avaiable get updated with Y.
    For this in my local system in page 2 i created a plsql process and wrote this code and applied it with create button but its not working. Any idea where i am failing?
    Declare
    l_how_many Number;
    l_sol_av Varchar2(1):= NULL;
    Begin
    select count(*)
    into l_how_many
    from quality
    where 1=1
    and variant_type= :P2_VARIANT_TYPE --'Road Bike'
    and model_code = :P2_MODEL_CODE --'6'
    and year_manufacture= :P2_YEAR_MANUFACTURE  ; --'2000'
    If l_how_many=null then
        l_sol_av := 'N' ;
    else
        l_sol_av := 'Y';
    end If ;
    :P2_SOLUTION_AVAILABLE := l_sol_av;
    :P2_HOW_MANY_RAISED       := l_how_many;
    Exception
        when no_data_found then
        null;
    end;

  • ADF Edit page changes do not save to database

    Hi. I'm using JDeveloper 10.1.3, working off the ADF Tutorial to create an edit page that updates a master-detail record. The user selects a record from a list of records in a table called ACTION, which opens an edit page for that record. The user makes changes to the record and clicks a Save button that uses mergeEntity(Object) to update the database:
    <methodAction id="mergeEntity" InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="mergeEntity"
    RequiresUpdateModel="true" Action="999"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_mergeEntity_result">
         <NamedData NDName="entity"
              NDValue="${bindings.findActionByActionIdIter.currentRow.dataProvider}"
    NDType="java.lang.Object"/>
    </methodAction>
    After hitting the button, the user is taken back to the full list of records. The full list shows the changes that were just made, BUT the changes are not saved to the database. If I open SQL*Plus and run a query the changes are not there. If I re-start the ADF application, the changes are not there.
    The following code in SessionEJBLocal.java successfully completes and does not throw exceptions. The entity in the unit of work has the proper updated values:
    public Object mergeEntity(Object entity)
    UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    Object workingCopy = uow.readObject(entity);
    if (workingCopy == null)
    throw new RuntimeException("Could not find entity to update");
    uow.deepMergeClone(entity);
    uow.commit();
    return workingCopy;
    Any ideas? Do I need to create a separate commit button? I don't see anything like that in the tutorial...
    Trevor

    Roy-
    Make sure the named data value (parameter) for the mergeEntity method matches what is returned by the readObject() query. You should not be sending the results of a readAll() query into the mergeEntity() method.
    In my example, the mergeEntity methodAction looks like this...
    <methodAction id="mergeEntity" InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="mergeEntity"
    RequiresUpdateModel="true" Action="999"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_mergeEntity_result">
    <NamedData NDName="entity"
    NDValue="${bindings.findActionByActionIdIter.currentRow.dataProvider}"
    NDType="java.lang.Object"/>
    </methodAction>
    I think the parameter is in that NamedData tag. The iterator findActionByActionIdIter is...
    <methodIterator id="findActionByActionIdIter"
    Binds="findActionByActionId.result"
    DataControl="SessionEJBLocal" RangeSize="10"
    BeanClass="<***package names***>.model.Action"/>
    which binds to the result of this readObject() query...
    <methodAction id="findActionByActionId"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal"
    MethodName="findActionByActionId" RequiresUpdateModel="true"
    Action="999"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_findActionByActionId_result">
    <NamedData NDName="findActionId" NDType="java.lang.Integer"
    NDValue="${userState.actionID}"/>
    </methodAction>
    ...which runs based on what the main list (readAll() query) page sets in userState.actionID before the navigation goes to the Edit page.
    All the above markup is defined in the page definition of the Edit page. If you're having problems with Master-Detail, maybe just try to get the non-foreign key fields working first. Hope this helps.

  • Subscreen data not updating to database

    Hi,
    I have created a subscreen in transaction code ME41/ME42/ME43. Whenever I put data on the custom subscreen, table ekpo is not getting updated with the input data. I have checked EXIT_SAPMM06E_013 and I did passed the new table to XEKPO. But it is still not working. Kindly advice.
    Thanks and regards,
    Marc

    Hi Marc,
    In EXIT_SAPMM06E_018 do as follows:
    e_ci_ekpo = ekpo_ci.
    The append structure CI_EKPODB is included in ekpo_ci. Moreover the screen fields should be created with reference to ekpo_ci.
    This will update the database table with values for the custom field.
    Hope this helps.
    Regards,
    Abhisek.

  • Data not inserted into database from jsf..

    hello..
    m developing ma project with 2 separate module-EJB and WEB .in which web module contains JSF managed bean and jsf-jsp pages.
    my application is running well.bt didn't give output to the database for inserting data.
    m giving ma simple test application ...plz tell me whr m going wrong.
    //Emp.java---entity file in ejb module
    package entity;
    import java.io.Serializable;
    import javax.persistence.Basic;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.Table;
    @Entity
    @Table(name = "emp")
    @NamedQueries({
        @NamedQuery(name = "Emp.findAll", query = "SELECT e FROM Emp e"),
        @NamedQuery(name = "Emp.findByName", query = "SELECT e FROM Emp e WHERE e.name = :name"),
        @NamedQuery(name = "Emp.findByAddress", query = "SELECT e FROM Emp e WHERE e.address = :address")})
    public class Emp implements Serializable {
        private static final long serialVersionUID = 1L;
        @Id
        @Basic(optional = false)
        @Column(name = "name")
        private String name;
        @Column(name = "address")
        private String address;
        public Emp() {
        public Emp(String name) {
            this.name = name;
        public Emp(String name, String address) {
            this.name = name;
            this.address = address;
        public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
        public String getAddress() {
            return address;
        public void setAddress(String address) {
            this.address = address;
        @Override
        public int hashCode() {
            int hash = 0;
            hash += (name != null ? name.hashCode() : 0);
            return hash;
        @Override
        public boolean equals(Object object) {
            // TODO: Warning - this method won't work in the case the id fields are not set
            if (!(object instanceof Emp)) {
                return false;
            Emp other = (Emp) object;
            if ((this.name == null && other.name != null) || (this.name != null && !this.name.equals(other.name))) {
                return false;
            return true;
        @Override
        public String toString() {
            return "entity.Emp[name=" + name + "]";
    //empsession.java--session file in ejb module
    package session;
    import entity.*;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    @Stateless
    public class empsession implements empsessionRemote {
        @PersistenceContext(unitName = "EJBmodulePU")
        private EntityManager em;
        public void addemp(String name, String address) {
            Emp objemp=new Emp(name,address);
            em.persist(objemp);
    //empsessionRemote.java--remote file for sessionbean
    package session;
    import javax.ejb.Remote;
    @Remote
    public interface empsessionRemote {
        void addemp(String name, String address); 
    //empMB.java--managed bean file in web module
    package mbean;
    import javax.faces.bean.ManagedBean;
    import javax.faces.bean.RequestScoped;
    import javax.naming.InitialContext;
    import session.empsessionRemote;
    @ManagedBean(name="empMB")
    @RequestScoped
    public class empMB {
        private String name;
        private String address;
        public String getAddress() {
            return address;
        public void setAddress(String address) {
            this.address = address;
        public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
        /** Creates a new instance of empMB */
        public empMB() {
        public void empadd()
            try
            InitialContext ic = new InitialContext();
            empsessionRemote esr=(empsessionRemote)ic.lookup(empsessionRemote.class.getName());
            esr.addemp(name, address);
            catch(Exception ex)
    }//AddEmp.jsp --jsf page in web module
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>JSP Page</title>
    </head>
    <body>
    name:
    <h:inputText id="txt1" value="#{empMB.name}"></h:inputText>
    address:
    <h:inputText id="txt2" value="#{empMB.address}"></h:inputText>
    <h:commandButton id="btnadd" value="submit" action="#{empMB.empadd}"></h:commandButton>
    <h1><h:outputText value="Hello World!"/></h1>
    </body>
    </html>
    </f:view>
    //faces-config.xml
    <faces-config version="2.0"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
    <managed-bean>
    <managed-bean-name>empMB</managed-bean-name>
    <managed-bean-class>mbean.empMB</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/AddEmp.jsp</from-view-id>
    <navigation-case>
    <from-outcome>AddEmp</from-outcome>
    <to-view-id>/index.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    m using toplink provider and mysql db
    wating for positive reply..
    thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I think this question would be more appropriate in a forum devoted to database or JPA topics.

  • Adding data not in the database

    I have a data source that does not include a specific set of transactions from previous years.  I want to include the transactions in my data for the years in question.  I have the numbers I want to add at the month level which is a the group footer for the report.
    I tried to do a Select/case formula and hard code the numbers.  However, the program won't allow me to add those numbers to the data from the original data source.
    I also tried to link an excel worksheet as a datasource, but I didn't get the results I needed.  As far as the linking goes, none of the records from the excel sheet are a match to the ones in the datasource, until the data from both is summarized to the month level.
    Any ideas?

    Can you post what your solution was ( just in case someone else has a similar issue)
    It looks like a sub-report would quickly do what you need.

  • Data not saved in database

    hi,
         i'v a prob. that once i create quation through va21 then it create and saved data.
    now when i create sales order through va01  then it show data saved and gave the sales order no.
    but when i 'm going to change it then message comes order not in data base.
    when i saw the data in table like vbak/ vbap then i found no data.
    what is the prob.
    pl. help me.
    mukesh

    Hi Mukesh,
    May be the data is not saved at all. Use TCODE SM12 and SM13 to check if there are entries for the corresponding table under processing
    Regards

  • Debugging or Running from OC4J container does not save to database

    When I run a project locally, from the oc4j container, none of my user input is committed to the database, for example...
    1. any changes to an lov input field are removed upon tabbing out of the field
    2. any other changes are not saved, getTransaction().isDirty() is false
    I am unable to debug any items that require user input. I don't know when or why this started happening.
    Thanks,
    jerry.

    1. any changes to an lov input field are removed upon tabbing out of the field - may be the PPR event of LOV is handled in the controller's processFormRequest where the values are cleared
    I am unable to debug any items that require user input. ----- are you trying to get the values of input items in the processFormRequest?

  • Picture not save.

    Dear All,
    I m using developer 6i. Yesterday i export data from 8i to 9i database second release. After this new picture data not save with using form but it save with toad. wht i do for this?

    Hello,
    Maybe it could be a question of patch. What is your exact 6i version ? Did you get the last patch, 17 or 18 ?
    Francois

  • Powerpivot data connection will not save the password

    I'm trying to create a Powerpivot workbook with data that users can refresh themselves before analysis.  We don't have Powerpivot data refresh in Sharepoint active, so I can't make use of that service.
    When I create a Powerpivot data connection to SQL server using SQL Server Authentication (unchanging read-only username and password), and checking the box to save the password, the connection works fine for refreshing the data as long as I leave the workbook
    open.
    If I close the file and re-open it, the password is gone from the data connection and the user cannot refresh the data.
    I've tried configuring the data connection with the SQL native client provider and the SQL OLEDB provider and I see exactly the same results.
    The connection string gets built with Persist Security Info=True and the Password shows up as hidden text (dots).  It stays this way through refreshes as long as the workbook is open.  However, once I close the file and re-open it, the
    connection string no longer has the Password parameter listed at all, not even as hidden text.  Persist Security Info is still there and set to True.  As might be expected, the connection string does not have the information needed to access the
    SQL Server instance.
    This type of connection string using SQL Server Authentication still works fine with the password saved when used directly as an Excel data connection, or when used as a data source in Reporting Services.  It's only Powerpivot where the password gets
    blown away.
    Is there a workaround for this issue?

    Thanks Jaynet.
    Unfortunately, the procedure described in the link you provided does not work for PowerPivot, at least in Excel 2010.
    If I create the PowerPivot data connection using "From Database/From SQL Server" there is no option to "Allow saving password".  There is only the checkbox to "Save my password".  There is an "Advanced" button that allows you to set many additional
    properties of the data connection, but there is nothing like allow saving password.
    If I create the PowerPivot data connection using "From Other Sources/Others (OLEDB/ODBC)" and then click the "Build" button, I get a dialog that is pretty close to the one in your link.  For the Provider tab, I can choose either the Microsoft OLE DB
    Provider for SQL Server or the SQL Server Native Client 10.0.  In the connection tab I do have the "Allow saving password" checkbox.  I check this and complete the rest of the data connection configuration.  After I save the file with this data
    connection and then re-open it, the data will not refresh.  If I edit the existing connection from the PowerPivot design tab, the Password parameter is completely missing from the connection string.  If I go back into the connection string builder,
    there is nothing in the password field (not even dots) and allow saving password is no longer checked.
    I've even tried creating my own connection string in Notepad and pasting it into the connection string box (definitely including Persist Security Info=True).  This does not work either and PowerPivot erases the entire Password parameter just the same
    as if I had used the builder and checked Allow saving password.
    I'm beginning to think that the previous poster, David Hager, has it right.  This may be a bug introduced with the latest version of PowerPivot.  If there is no workaround, it is a total pain for me.
    Mike Paulonis

  • THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY

    THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY IN OBIEE DASHBOARD(ANSWERS)
    UNLESS AND UNTILL I OPEN THE ORACLE BI ADMINISTRATOR TOOL AND DO UPDATE ALL ROWCOUNT AND THEN SAVE THE RPD.
    WHERE AS ORACLE DATABASE TABLE DATA IS AUTOMATICALLY REFRESHED.
    PLS SOMEONE HELP OUT IN THIS ISSUE.

    Check whether you have enable cache on that view?

  • JDev 11.2.1 Commit button does not save data

    I am using JDeveloper 11.1.2. I am having trouble saving updates to the database. I am trying to create an application that displays database records in a form, allows the user to modify data in the form and them saves that data to the database. I have successfully created the database, entity objects, view objects and application module. I created the form on the page by dragging the data control on to the page. I used the same method to create a table from the same data control. I included a submit button on the form. I dragged the create, delete and commit buttons onto the form. This application gets the data from the database, the user modifies it, select the submit button. This displays the change in the table. I can do the same with create and delete. However, I use the commit button to write the data to the database but it never happens. I have set up logging with –Djbo.debugoutput=console. I can see that the delete button {#bindings.Commit1.execute} is doing something but no change is made to the database.
    Thanks for your help, Steve

    I have had some success. I tested with the BC browser in my application and got the same results, no update. So I created a new application. I used the 'Create Business Components from Tables' option to create a set of Entity objects, Entity View objects, and Query View objects. The interesting thing I found was that when running the BC browser and trying to update the database using an Entity View object I had success. Was able to add and modify records and results saved in db. However, when I use the browser and try to do the same thing using a Query View object I get the behavior I've been seeing all along, it looks like it is working but not data saved to the database. In order to make the Query View object updatable in the browser I had to make all of its attributes updatable 'Always'. this made the view look updatable in the browser but no save. In my real application I did not have any Entity View objects. the Query View objects look the same so I didn't create any Entity View objects. So I want back to my real application, removed all Entity objects and Query View objects, recreated them with the 'Create Business Components from Tables' option. I created Entity View objects this time. When I drat a data control based on an Entity View onto my page I can make updates and the commit works.
    I'd like to understand the difference between the Entity View objects and the Query View objects. Once they have been created I have a hard time telling them apart. The Entity View object for the Employee looks very much like the Query View object for Employee. There are some flags set differently and the Entity View object 'Entity Objects' tab shows the Employee table selected. I can tweek the Query View to look like the Entity View but it still does not behave the same, the commit does not save data.
    Thanks for all the help, Steve

  • Could not save logon data

    Hello,
    We want to use the User Mapping System from the portal. For example we want to use Lotus Notes. Therefore we want to map the appropriate Lotus notes user credentials. We tried all the methods. We have allocated an system object/alias for example: CCC Notes Access. We have put in the User credentials after that we pressed the save button we got the error 'could not save logon data'.
    Can anyone tell the process how to do..
    Thanks
    Murali

    Hi,
      This sometimes occur if the database is not ready to store the value. Make sure appropriate services are started. If not, restart the server and check saving the details.
    Regards,
    Harini S

  • Maybe you are looking for

    • Down payment and PO adjustments

      We have created PO at the value of 7100000 and down payment has been done against the PO 4400000 and check also enchased by vendor Now the requirement is to amend the PO by 2800000 only Are there any possibilities to adjust the remaining balance of 1

    • StringTokenizer Class is not available?

      Good day... I notice that in J2ME we lost this useful Class:      StringTokenizer I have a string which has been tokenized as follow:      "nama=ABC;school=SDKXVRS;age=10" If I want to split this string into:      nama=ABC      school=SDKXVRS      ag

    • Change of Profile email

      Hi All, I would like to change the profile email such that I receive all the notifications from SCN. But I was unable to find the same in the profile settings. Can anyone help me to change the ID? Thanks in advance. Regards, Narender.

    • Samsung SATAII drive for G5 dual 1.8 ?

      Hi there, I have read that there are some compatibility issues with some SATA II drives and the early or mid production G5's, and I am now about to order a Samsung SP T166 - 500 GB SATA II (which has a jumper to restrict it to 150 Mbps instead of ful

    • How to change iTunes and App Store back to English after ios6 update..all Spanish

      How to change my iTunes and App Store back to English after update, I am in Spain and both have gone to Spanish.