Oracle ADF Form Data was Not adding to DB.

I have Created a Query Based VO(I have given Updatable:Always and i ahve checked in source that IsUpdateable="true"),and added that to AM,I Have created a ADF Form with CreateInsert Operation,When Click on CreateInsert Button It was creating an empty form,
After Entering the Date into that empty field, when i click on Commit button Data is Not Saving into DB.
After that,
I have Creted a Readonly Table With Same Iterator,When i click on "Commit" it was sowing that data is adding to the New Row in that Readonly Table,But when i was checking in DB ,The Data was not adding to DB
i am useing 11.1.2.3.0 version jdeveloper.
Any Help is appreciable.....
Edited by: Rajashekar Thippireddy on Feb 4, 2013 8:47 AM

You are conceptually wrong. A query-based VO does not insert/update/delete any data to DB. You must create an entity-based VO if you want to insert/update/delete data to DB.
When you issue a commit operation on an AM, it looks for created/modified/removed Entity objects and then performs the corresponding DML operations on DB. (In fact, DML operations are performed by Entity objects. If there are no Entity objects, then there are no DML operations). If your VO is not entity-based (but query-based), then you do not have any created/modified/removed ADF entities, so there is noting to flush to DB.
The "Updateable" property of the VO attributes controls whether the VO should allow data entry/modification of these attributes in memory. You can have non-entity based attributes that are marked as "updateable" (for example, transient attributes storing temporary values in memory) but it does not mean that these attributes are going to be flushed to DB.
You have seen data in the read-only table, because it is based on the same VO and it displays the newly-created row which is in memory.
Dimitar
Edited by: Dimitar Dimitrov on Feb 4, 2013 7:00 PM

Similar Messages

  • Could not automatically scale X because monitoring data was not found

    I have never been able to get Auto-Scaling by CPU to work.  I have created new cloud services, waited days before setting it up, but this warning always gets generated when it tries to scale:
    Could not automatically scale XXX because monitoring data was not found
    The cpu data displays on the monitoring tab and the auto scale configuration screen.

    Hi wikek,
    Thanks for your posting!
    Is your question similar with this post(http://stackoverflow.com/q/19730570 )? I am not sure but it is possible that the cloud service and VM has had maintainence on yesterday, please see this comment form
    Azure dashboard (http://azure.microsoft.com/en-us/status/#history ):
    Starting at 2nd Sep, 22:18 PM UTC to 3rd Sep, 03:45 AM UTC, a very limited subset of customers using Cloud Services and Virtual Machines in West US may have experienced intermittent errors or timeouts when attempting to access services. The issue was
    intermittent, and customers would likely have been successful when retrying a request. Engineers have validated that full service availability has been restored to our West US customers. This incident is now mitigated.
    It could leverage the VM or Cloud service performances. And I suggest you  can contact with azure support to resolve this issue.
    http://www.windowsazure.com/en-us/support/contact/
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Popularity trend/usage report is not working in sp2013. Data was not being processed to EVENT STORE folder which was present under the Analytics_GUID folder.

    Hi
     I am working in a sharepoint migration project. We have migrated one SharePoint project from moss2007 to sp2013. Issue is when we are clicking on Popularity trend > usage report,  it is throwing an error.
    Issue: The data was not being processed to EVENT STORE folder which was present under the
    Analytics_GUID folder. Also data was not present in the Analytical Store database.
    In log viewer I have found the bellow error.
    HIGH -
    SearchServiceApplicationProxy::GetAnalyticsEventTypeDefinitions--Error occured: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly
    secured fault was received from the other party.
    UNEXPECTED - System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail,
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    HIGH - Getting Error Message for Exception System.Web.HttpUnhandledException
    (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party.
    CRITICAL - A failure was reported when trying to invoke a service application:
    EndpointFailure Process Name: w3wp Process ID: 13960 AppDomain Name: /LM/W3SVC/767692721/ROOT-1-130480636828071139 AppDomain ID: 2 Service Application Uri: urn:schemas-microsoft-
    UNEXPECTED - Could not retrieve analytics event definitions for
    https://XXX System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    UNEXPECTED - System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail,
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
    I have verified few things in server which are mentioned below
    Two timer jobs (Microsoft SharePoint Foundation Usage Data Processing, Microsoft SharePoint Foundation Usage Data Import) are running fine.
    APPFabric Caching service has been started.
    Analytics_GUID folder has been
    shared with
    WSS_ADMIN_WPG and WSS_WPG and Read/Write access was granted
    .usage files are getting created and also the temporary(.tmp) file has been created.
    uasage  logging database for uasage data being transported. The data is available.
    Please provide pointers on what needs to be done.

    Hi Nabhendu,
    According to your description, my understanding is that you could not use popularity trend after you migrated SharePoint 2007 to SharePoint 2013.
    In SharePoint 2013, the analytics functionality is a part of the search component. There is an article for troubleshooting SharePoint 2013 Web Analytics, please take a look at:
    Troubleshooting SharePoint 2013 Web Analytics
    http://blog.fpweb.net/troubleshooting-sharepoint-2013-web-analytics/#.U8NyA_kabp4
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • 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?

  • Help with Oracle Connection- "Input string was not in a correct format"

    Hello, can some one, anyone please help me. I have a simple VS 2005 C# application that connects to oracle. I've set it up to take the username, password and tnsname as arguments. I am using Client 9i, version 9.2.0.401 of Oracle.DataAccess.dll, and .NET Framework 2.0.
    It works fine when I run it from VS 2005, I have also set up a test machine w/o VS 2005 and ran my install package and it runs fine. I sent it to one of my co-workers and when he tries it the OracleConnection obect fails with the error.
    "Input string was not in a correct format"
    strange in that it is not an ORA error, just the identifed text!?
    Here is the code:
    ## begin code
    OracleConnection dbc = new OracleConnection();
    string sConnectString = "User Id=" + username.ToString() + ";Password=" + password.ToString() + ";Data Source=" + tnsname.ToString();
    dbc.ConnectionString = sConnectString.ToString();
    MessageBox.Show("Attempting to Connect to Oracle");
    dbc.Open();
    MessageBox.Show("Connected to Oracle: " + dbc.ServerVersion);
    ## end code
    Pretty basic, what could be going on?
    Since this only happens with an installation, I put in the message boxes to verify exactly where it chokes. I get the first message box, then an error with the identified text. I've seen a number of posts regarding input string format problems, but not a one dealing with OracleConnection.Open(). I added all the ToString() calls just to make sure everything was a string but it did not change the end result.
    Anyone? Thanks In advance!
    Eric S.

    Hello,
    well, i got a message "...string not wellformed format...", too.
    If you have defined the parameters as string, you don't need the additonal "ToString()". Please ckeck your tnsnames -string. Try to debug this. I believe you have copy the format from the tnsnames.ora and there you have much brackets.
    For example, two code snippets:
    As datasource i use <Server>:<Port>/<Instance>
    try
    string FDsn ="User Id="+FDbUser+";Password="+FDbPwd;
    FDsn +=";Data Source=wth5:1521/Ora9.wth5";
    FConn = new OracleConnection(FDsn);
    FConn.Open();
    if (FConn.State == ConnectionState.Open )
         FConn.Close();
    catch (Exception ex)
         FStateMsg = "Connection to database failed. Check Configuration in parameter: ConnectionString. " + ex.Message;
    Above i connect to a Ora 9.2.0.1
    by using
    FDsn +=";Data Source=wth5:1522/XE";
    i connect to an OraExpress database on the same machine.
    My Oracle.dataAccess.dll ist the newest, 10.2.... and it runs under Framework 1.1.x and Framework 2.x
    I'll hope it will help you. Best regards!

  • I contacted the itunes store support and asked for  an explanation of a refund and then my first name (for the account data) was not accepted - though correct - only when cancelling the second name it went through. How can that be???

    Hello - I wonder what can have happened. I got a mail from the itunes store with the info of a refund for an App that I cannot have purchased. Then I asked for help via the support and had to fill out a form with data. My account name (first name and last name) was already there and when I finally wanted to submit my request for support it said that my first name ( there are 2 for that) was not correct. I had the idea of cancelling the 2nd 'first name = only M. and then the request was accepted.
    What might be the reason for all that turmoil? I mean the refund for s.th. that I did not buy and then the non acceptance of my first name's data?
    I appreciate a comment, aimeeh

    Make an appointment at the genius bar.
    If you went without an appointment, then it would make sense that you could be turned away.

  • Oracle ADF - SRDemo (some methods not found)

    Hi
    I am running the SRDemo project in Oracle ADF demo. In step 8 of pg 6-20, they are mentioning to import oracle.binding.AttributeBinding class. I did this import and was requesting in jdev to import some more classes like oracle.adf.model.BindingContainer and oracle.adf.model.OperationBinding.
    I imported all these.
    Piece of code pasted below:
    import oracle.adf.model.BindingContainer;
    import oracle.adf.model.OperationBinding;
    import oracle.binding.AttributeBinding;
    public class SRMain {
    public SRMain() {
    public String commandButton_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("addNoteToServiceRequest");
    Object result = operationBinding.execute();
    if(!operationBinding.getErrors().isEmpty()){
    return null;
    AttributeBinding noteText =
    (AttributeBinding)getBindings().getControlBinding("noteText");
    noteText.setInputValue(null);
    return null;
    Still some methods like getBindings(),getOperationBinding,getControlBinding are shown as not found in jdev.
    Can anyone help?
    Regards
    Sabarish

    Hi,
    if getBindings() doesn't exist then you obviously missed creating a variable
    private BindingContainer bindings;
    with setter and getter methods creatd for it. Also, this bindings object is populated through a managed property in the faces-config.xml file. I don't believe that the tutorial missed this steps out. Please have a look again and create the managed property and the required setter and getter method
    Frank

  • Oracle ADF Mobile Client extension not found in JDeveloper 11.1..2.2?

    Hi. I was trying to install the extension for mobile development in ADF but unfortunately I could not find the extension.
    I went to Help -> Check for Updates -> Official Oracle Extensions and Updates. Yet i did not find the "Oracle ADF Mobile Client extension" there.
    I am running Jdeveloper 11.1.2.2.
    Is the Oracle ADF Mobile Client framework compatible for 11.1.2.2? Or is it no available anymore? Can someone please enlighten me? Thanks!

    Re: How to get the ADF Mobile Client extension

  • My form data is not being displayed when signing in to different websites such as Facebook.

    I have tried clearing the history and form data, and I have tried deleting the specific sites that I've been having problems with and still has not fixed the problem.

    Oops here is the jpg - not sure whey so small.

  • ADF form data

    i have ADF form in which one mandatory column is user-id which need to fiIl automatically when the user logged in,i am storing user-id is a session variable .I am able to see user-id in form column but when i press commit button , i am getting error saying *"Attribute user-id required"* even i am able to see user-id in that column.
    I tried below things but i am getting error saying "Attribute user-id required" even i am able to see user-id in that column.
    >>
    <af:column sortProperty="RequesterId" sortable="false"
    headerText="#{bindings.ViewObj_emptyRequest1.hints.RequesterId.label}"
    id="c4">
    *<af:outputText value="#{row.RequesterId eq 'NA' ? 'NA':(TagDB.userMail)}" id="ot1"/>*
    </af:column>
    >>
    Please suggest how to assign user-id to this form column.
    Thanks

    Thanks Shay for looking into it.
    I follow below steps,
    1.click on biniding tab in a page where table is drag n drop.
    2.here do i need to click on + sign in binding and choose "binding values"?
    3.select the attribute email id
    4. now i am not getting "set it's value in the property inspector to the EL that gets the value"
    May be i am not doing right way.could you please give me more hint.
    Thanks

  • Oracle adf form

    hi all,
    i have a scenario:in adf form i have a drop down with name of employees.when i select one employee then on submit i want an email to be sent to that employee.how i should accomplished this.pl provide some pointer.
    thanks

    use af:golink
    <af:goLink shortDesc="Click here to send Email"
                                                         id="it7"
                                                         text="#{bean.EmailAddress}"
                                                         destination="mailto:#{bean.EmailAddress}"/>

  • Oracle apps r12 data is not coming up in form based on org_id specific view

    Hi All,
    I am new to oracle apps R12. I have to develop a form which is based on views which are org_id specific. My data block is based on view which is org_id specific. Can anyone tell me what all settings i need to do in my form so that i can get the data on the basis of org_id. I am working on oracle apps R12 right now.
    TIA
    Praveen

    999698 wrote:
    Hi All,
    Sorry for inconvenience, Since i am new to oracle, can you guys please provide me the link where to search for my problem?
    I am not sure how to access the solution you have provided? My only problem is how to get the data in my form when i attach it to a responsibility in orace apps R12. what all steps do i need to follow or code change i need to do in my form to get the data ???
    TIA
    Praveen SaraswatYou can access the above docs through MOS website -- https://support.oracle.com
    You will need to have a valid username/password and CSI number.
    Thanks,
    Hussein

  • Save Button saves in data base not adding on form.In Detail form of M/D For

    Hello Everyone,
    Please help me on following.
    I ahve mater detail form and in detail form i have only one field displaying and if i add new row it adds and if i put new data in subject name and save it .It saves in database but doesn't display in form.
    I have
    Table A with
    CaseId PK (Master Table)
    Table B
    CaseID-FK &
    Subject Id PK(Detail Table)
    Edited by: user639035 on Mar 17, 2010 8:44 AM

    REPORT  YH648_1111111.
    TABLES SSCRFIELDS.
    parameter : c  AS CHECKBOX USER-COMMAND SUNIL
    AT SELECTION-SCREEN .
    SY-UCOMM = SSCRFIELDS-UCOMM.
    START-OF-SELECTION.
      CASE SY-UCOMM.
        WHEN 'SUNIL'.
          WRITE 'SUNIL KUMAR .BETHINEDI'.
        WHEN ' '.
          WRITE 'BLA BLA BLA '.
    ENDCASE.
    THIS IS THE WAY U CAN USE THE CHECK BOX.
    INSTED OF THIS  WRITE 'SUNIL KUMAR .BETHINEDI'.
    U USE THE INSERT STATEMENT.

  • Planning form , column formula not adding correctly.

    Hi all,
    I have a small issue with a planning form. I have two columns
    Column1 - Decendants of Units
    Column2 - Formula column, sum of col1 (sum of units)
    Figures are entered as percentages. I have a validation rule for Column 2 such that if the sum isn't 1 (adding percentages so it's 1 and not 100) then cell colour should be red.
    Issue appears if I enter .1 for 10 units, I get an error and for some reason the value of column 2 is .9999999999999 instead of 1.
    If I enter .5 for two units, it's fine.
    If I enter .5 , .3, .1,.1 it's fine
    If I enter .3,.3,.3,.1, it's fine
    If I enter .1,.1,.1,.1,.1,.1,.1,.1,.1,.2 the result is 1.1 which is correct.
    Not sure why is this issue happening.
    Screnshot: http://i44.tinypic.com/2nk5mz8.png
    Any input would be helpful.
    Using 11.1.2.1, accessing Planning via workspace.
    Edited by: N13 on Jun 7, 2013 6:09 AM

    Hi
    I had logged something similar on here a little while back.
    Webform "Validation" column issue
    Something to do with 'floating point decimal errors'.....I realise this doesnt help much as the solution was the same, but it might give you a place to start if you wanted to embark on the tiresome odyssey of Googling.
    JB

  • Select List with Submit - Branch Error - form data does not save

    I am a new APEX user so please excuse my ignorance. I have created a simple application in which a primary data entry form branches either to a detail form (one to many on the parent ID) or a master tabular report used for navigation. These branches work fine. Then I tried to get a little fancy with a conditionally displayed element based on the value the user selects in a select list on the main form(P9_REPORT_TYPE). I converted the select list to a select list with submit and created a new branch (on submit - after processing) to the current page (Page 9) to avoid the "no branch found" error. To avoid the branch being unconditional, I tried to use the 'Request = Expression1' condition with the Expression 1 field set to P9_REPORT_TYPE. The behavior I get is that the page seems to submit but the data on the form is not saved -- even the new value selected in P9_REPORT_TYPE reverts to the old value. I simply need the page data to submit so that the conditionally displayed element will take effect (which it does if you use one of the other button-based branches and then return to the form). Do I have the syntax wrong? It seems like this should be straightforward but I've tried a number of options including using a PL/SQL condition V('REQUEST')='P9_REPORT_TYPE' with no success. I'm guessing that the value of Request is getting cleared before it has a chance to trigger the branch? Any help would be greatly appreciated.

    Exactly so! Thanks Scott for setting me straight. For the benefit of other readers, the value in the Source Used column had been set to "Always, replacing any existing value in session state" and should have been set to "Only when current value in session state is null".

Maybe you are looking for

  • In Livetype, script in the pro series, how do you separate a name?

    Am trying to use the first name Mary Ann (separate names) but even when using the space bar, the two names show no space.  Any ideas? thanks

  • Editing a PDF

    I have been given a PDF that is an invitation. There are 3 lines that enable me to input my own information. I then save the PDF with my updated information. However, when I email this PDF or print it my information that I just updated does not print

  • Need Help - Embedded Youtube Gallery

    So I made a stand alone you tube gallery, that seems to work great in Google Chrome though not in Firefox. See here: student.elon.edu/bhundley/web However, when I try to embed it into my final edge project with an interactive header and in which the

  • Sun One Web Server 6.1 | Install wildcard certificate

    Hello everyone. I am new to this forum. I'll start off by saying that I am very "green" with the Sun One Web Server as well. My question/problem pertains to installing a wildcard certificate on our server. I am not able to find good documentation on

  • Native Compilation

    Has there been any further word from Oracle on the status of making Java native compilation, or at least just in time compilation, an available option inside JServer (Aurora)? null