DataControl does not expose a Commit operation

Hi all,
I'm using ADF & JDeveloperStudio Edition Version 11.1.1.3.0 PS2.
I'm trying to insert a new row in my database from an input screen, using a task flow.
My task flow has:
- Behaviour -> Transaction set to Always Begin New Transaction: to create a new transaction when the flow starts.
- method activity to call the Create operation from my DataControl
- view activity for data-entry screen.
- view activity for read-only, confirm screen to display the entered data and provide a Confirm button to proceed with inserting the data to the database.
- return activity: has Behaviour -> End Transaction set to Commit to complete the insertion to the database. NOTE: I did not drag the Commit operation from my DataControl to the command button that navigates to this return activity—I explain below.
Problem:
When I hit the Confirm button on the confirm screen I get an HTTP 404 Error (The server has not found anything matching the Request-URI.)
Nothing displays on either the Messages or Running: IntegragedWebLogicServer; nothing appears in the DefaultServer.log.
I'm following [this section|http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/web_form.htm#sthref1906] from the Fusion Developer's Guide. I have deviated from the instructions on point 6 ("Because you need to commit the new data, the application needs to execute the commit operation of the data control. To do this, you can add a button that navigates to a return activity that calls the commit operation.") because my DataControl does not have a Commit operation. I suspect this is the cause of my problem.
My DataControl was generated from a Session Bean, which was created from an Entity EJB, which was in turn generated from my database table (I have SELECT and INSERT grants on the table. All this is correct, I believe.
I've compared my DataControl to that from JDeveloper's Cue Cards tutorial "Build a Web Application with EJB, JPA and JSF"; that tutorial's DataControl does not have a Commit operation either, but the tutorial does not try to use task flows.
Any ideas as to why
- I'm getting the error when I try to navigate from the confirm page to the return activity responsible for committing the insertion to the database?
- my DataControl does not exhibit a Commit operation?
Thanks for your help.
Regards,
Ken.

Hi Shay,
Thanks for response.
I've tried your suggestion to call the persist... transaction method.
Here are my steps:
- Started with a fresh, even simpler task flow with only two activities: a view activity to display an input form, and a method activity to call the persistMyEntity(...) transaction method.
- Added method activity, and dropped persistMyEntity(...) from my data control onto it. (Data control created from Session Bean.)
- persistMyEntity(...) takes one parameter, a MyEntity object: I need to identify this parameter object using EL. There is no such object existing in any binding context at this point.
- Added managed bean, of type MyEntity to the task flow in page flow scope. Updated the EL for the persistMyEntity(...) parameter to refer to this managed bean in page flow scope - *#{pageFlowScope.myEntity}*.
- Added a view activity to task flow, and created the *.jspx* for it.
- Dropped input text components onto the page for each of the entity's attributes that I want to persist to the database.
- Manually bound the value for each input text component to the corresponding attribute in the managed bean - *#{pageFlowScope.myEntity.myAttribute}*
When I run my task flow, I get following exception: oracle.jbo.NoDefException: JBO-25058: Definition myAttribute of type Attribute is not found in myAttribute.
I would have thought I could expand the persistMyEntity(...) node within the Data Control panel and drag its parameter onto the screen as an ADF Form, with ADF looking after binding; then drag the persistMyEntity(...) method onto the method activity. My gut tells me I shouldn't have to add a managed bean to the task flow, of type required by the persistMyEntity(...) method, then manually bind it to the input text fields of the screen. It just seems 'wrong'.
Is my approach incorrect?
Many thanks,
Ken.

Similar Messages

  • SCCM 2012 - Adding Operating System Installer (The specified path does not contain a valid operating system ..)

    I have encountered the dreaded "The specified path does not contain a valid operating system or you do not have permission to access it.  Specify a valid path" message that seems to be popular in many forums .... BUT, so far none of the "solutions"
    have fixed the problem (of I don't understand the fix)
    Configuration
    SCCM 2012 SP1 5.0.7804.1000
    WADK 8.100.26629.0  < Suggested Fix
    Server 2008 R2
    SCCM Administrator with UserID = SCCMAdmin 
    Steps / Fixes I have followed
    I have configured a administrative share
    \\caleb\sources$ to hold directories (such as Apps, Drivers, and OS) with the following NTFS Permissions
    EVERYONE has Read and Execute, List folder, Read permissions<o:p></o:p>
    SYSTEM has Full Control 
    <Suggested Fix
    SCCMManagers (our group that has all SCCMManagers) has Full Control<o:p></o:p>
    SCCMAdmin (the SCCM Admin account that we are using to import image) has Full Control<o:p></o:p>
    Local Administrators (the local machine administrator) has Full Control 
    <Suggested Fix
    <o:p></o:p>
    Another Fix is to explicitly grant all permissions to the SCCM Administrator
    <Suggested Fix
    >Administrative Users ...
    Properties of the SCCM Administrator (for us that is SCCMAdmin) has all the boxes checked<o:p></o:p>
    Another suggestion I was able to glean was to Specify the Network Access Account
    so I configured SCCMAdmin as the Network Access Account.
    Another potential fix is that the image ISO file that has been downloaded is corrupt.   So, I downloaded the Win 7 (and Win 8.1) ISO's from MSDN and did a Checksum check.
    I then mounted the ISO (on 2008R2 I use VirtualClone Drive) and copied the contents of the image to
    E:\Sources\OS\en_windows_7_professional_with_sp1_vl_build_x86_dvd_u_677896 for Windows 7 with SP1
    To double check,
    I computed the Hash on the Install.WIM located in the Sources directory and compared with
    the computed Has Tag for the Install.WIM on the ISO Image  ... and the Hash tag of the WIM's matched (extracted vs what is contained within the ISO)<o:p></o:p>
    I tried to load the images into SCCM 2012 using the "Operating System Installers" option
    UNC to installer
    \\caleb\sources$\OS\en_windows_7_professional_with_sp1_vl_build_x86_dvd_u_677896
    Then I receive the lovely message <o:p></o:p>
    "The specified path does not contain a valid operating system or you do not have permission to access it.  Specify a valid path"<o:p></o:p>
    <o:p> </o:p>
    From
    C:\Program Files (x86)\Microsoft Configuration
    Manager\AdminConsole\AdminUILog\SmsAdminUI.log<o:p></o:p>
    <o:p> </o:p>
    \r\nSystem.Management.ManagementException\r\nGeneric failure \r\n  
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
    errorCode)
       at System.Management.ManagementObject.InvokeMethod(String
    methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
       at
    Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String
    methodClass, String methodName, Dictionary`2 methodParameters, Boolean
    traceParameters)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Failed to get the image property from the source WIM
    file due to error 80070002";
     ErrorCode = 2147942402;
     File ="e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspimagepackage.cpp";
     Line = 586;
     Operation = "ExecMethod";
     ParameterInfo = "SMS_OperatingSystemInstallPackage";
     ProviderName = "WinMgmt";
     StatusCode = 2147749889;
    \r\n<o:p></o:p>
    What am I missing ????  I assume something simple but, darn I'm stumped!!!

    Hi,
    Configuration Manager version
    Windows AIK or Windows ADK Version
    Windows PE versions for boot images customizable from the Configuration Manager console
    Supported Windows PE versions for boot images not customizable from the Configuration Manager console
    System Center 2012 Configuration Manager with no service pack
    Windows AIK for Windows 7
    Windows PE 3
    None
    System Center 2012 Configuration Manager with SP1
    Windows ADK for Windows 8
    Windows PE 4
    None
    System Center 2012 Configuration Manager with SP1 and cumulative update 2
    Windows ADK for Windows 8
    Windows PE 4
    Windows PE 3.11
    System Center 2012 Configuration Manager with SP1 and cumulative update 3
    Windows ADK for Windows 8
    Windows PE 4
    Windows PE 3.11 and Windows PE 5
    System Center 2012 R2 Configuration Manager
    Windows ADK for Windows 8.1
    Windows PE 5
    Windows PE 3.11
    Please try to install the Windows ADK for Windows 8.
    http://www.microsoft.com/en-us/download/details.aspx?id=30652
    For more information, please review the link below:
    http://technet.microsoft.com/en-us/library/gg682187.aspx
    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.

  • MDT 2013 The source directory does not contain an identifiable operating system

    Hi, 
    I am using MDT 2013 and I am trying to deploy server 2008 in it. I mount my 2008 iso file, import OS, then select full set of source files, and enter D:\ . It says, "The source directory does not contain an identifiable operating system". I am
    sure that install.wim file is present in sources folder. What other folders/files does it need while importing OS? 
    Note: it is an customized OS. It has MS hotfixes and dotnet 4.5 installation package in it. 
    Chaitanya.
    Chaitanya.

    Hi, 
    I am using MDT 2013 and I am trying to deploy server 2008 in it. I mount my 2008 iso file, import OS, then select full set of source files, and enter D:\ . It says, "The source directory does not contain an identifiable operating system". I am
    sure that install.wim file is present in sources folder. What other folders/files does it need while importing OS? 
    Note: it is an customized OS. It has MS hotfixes and dotnet 4.5 installation package in it. 
    Chaitanya.
    Chaitanya.
    This is expected behavior because Server 2008 is unsupported in MDT 2013:
    http://deploymentresearch.com/Research/Post/330/What-if-I-told-you-The-OSD-Support-Matrix-for-MDT-and-ConfigMgr-is-here
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • HT1414 My iPad does not automatically update the operating system.  Under the general tab in settings there should be Updates, but there isn't.  Advice plz?

    My iPad does not automatically update the operating system.how can I accomplish this?

    Your post says you are on iOS 4.3.2.  You need to be at least at iOS 5 to have a "Software Update" capability on your iPad.  Right now, you need to update your iPad using iTunes on your computer.
    Plug your iPad into iTunes (current version: 11.0.4).  Let it sync.  Then choose "Check for Updates" from the iPad's summary page in iTunes.

  • I am trying to export a Numbers spreadsheet to a csv file, but it does not put the commas in

    I am trying to export a Numbers spreadsheet to a csv file, but it does not put the commas in.  I want to use it with an HTML table generator tool, but the tool is looking for commas.   The Export to CSV exports it as a spreadsheet with all the formatting removed, and no commas.
    Here is the html table tool:
    http://www.textfixer.com/html/csv-convert-table.php

    Numbers '09 create CSV files with comma separated values if and only if your system is using decimal period.
    If the system is using decimal comma, the CSV files are created using semi-colon as separator.
    Yvan KOENIG (VALLAURIS, France)  dimanche 11 décembre 2011 11:11:25
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • My pc does not meet the minimum operating system requirements for the 6th gen nano. Is there anything I can do to make it work?  This was sent to me from Apple after my previous Nano was recalled.

    My pc does not meet the minimum operating system requirements for the 6th gen nano. Is there anything I can do to make it work on windows XP?  This was sent to me from Apple after my previous Nano was recalled.

    I think you've anwsered your own question. If it does'nt meet the minimum spec it won't work.

  • Target data source does not support the AGO operation

    Hi,
    In BI Admin Tool, I join Essbase cube and relational source. Then I apply Ago function to Essbase measures. In BI Answer, I try to run query that includes Essbase Ago measures and relational columns(non measures), error message shows the following detail:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22001] Target data source does not support the AGO operation. (HY000)
    When I remove the relational columns or run Essbase current-date messures, the result is fine.
    So, what's exact meaning of this error message? and does the relational columns (non-measure) support Essbase measures' Ago function?

    to clarify:
    fail case:
    criteria
    YEAR | YTD,gen03 | MONTH_NAME | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    relational source: month_name
    cube measure using AGO(): sales(year_ago)
    result: error messageSuccess case:
    criteria
    YEAR | YTD,gen03 | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    cube measure using AGO(): sales(year_ago)
    result: success~! how can i solve it? thx

  • SJSAS 9.1 does not expose EJB 3.0 remote Interface via JNDI

    I have successfully deployed a simple Stateful EJB 3.0 bean (CartBean, like the one in the Java EE 5 tutorial remote interface Cart) on SJSAS 9.1, located on machine host1.
    After I deployed the CartBean, I browsed the SJSAS and noticed the existence of the following JNDI entries:
    ejb/Cart
    ejb/Cart__3_x_Internal_RemoteBusinessHome__
    ejb/Cart#main.Cart
    ejb/mgmt
    ejb/myOtherEJB_2_x_bean ( +myOtherEJB_2_x_bean+ is a different 2.x bean that I have deployed as well)So, I am trying to access the remote interface of the CartBean from a remote machine, host2. The client application is a Java-standalone client.
    I am using the Interoperable Naming Service syntax: corbaname:iiop:host1:3700#<JNDI name>
    The problem is that the remote interface of the bean does NOT seem to be available via JNDI. I get the javax.naming.NameNotFoundException when I try to do a lookup like:
    corbaname:iiop:host1:3700#ejb/Cart
    On the other hand, the following lookups succeed:
    corbaname:iiop:host1:3700#ejb/mgmt
    corbaname:iiop:host1:3700#myOtherEJB_2_x_bean
    and also the following succeeds:
    corbaname:iiop:host1:3700#ejb/Cart__3_x_Internal_RemoteBusinessHome__So it seems like the Remote interface is not available via JNDI, rather only some internal SJSAS implementation (the object returned from the ejb/Cart__3_x_Internal_RemoteBusinessHome__ lookup is of type: com.sun.corba.se.impl.corba.CORBAObjectImpl
    Why is this happening? I know there used to be a bug in Glassfish, but I thought it had been fixed since 2006.
    Many thanks in advance, any help would be greatly appreciated.

    The EJB 3.0 Remote Business references are not directly stored in CosNaming. EJB 3.0 Remote references do not have the cross-vendor interoperability requirements that the EJB 2.x Remote view had.
    You can still access Remote EJB references from a different JVM as long as the client has access to SJSAS naming provider. Please see our EJB FAQ for more details :
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html

  • My MBP does not boot in the operating system. How can I get it to work again?

    I've tried rebooting from the OS DVD but it does not do anything. Now, I can't even get the DVD out to try the MBP install disks. Is there anyway to get this working again?

    If it's not an Airprint enabled printer, you can not natively through your iPad.  BUT, there are apps you can purchase in the App Store, like Print Central ($9), which is what I use myself and works well for my needs.

  • Af:html does not expose the dir property !!!

    Hi,
    After working with ADF faces for sometime, I found that the af:html component does not have the dir property.(eg. <html dir="rtl">).This is very important for developers working on Arabic,Farsi,Urdu web sites.
    Is there a workaround for this !!!!
    Thanks
    Madani

    I already found the solution:
    open the file adf-faces-config.xml and add the this line
    <right-to-left>true</right-to-left>
    Madani

  • How come CS4 Bridge does not offer Photoshop batch operations?

    I have had tons of problems with CS4 on my desktop PC but seem to have most of them resolved with a new video card and updated driver except this one.  If it matters I'm running Windows XP service pack 3, 4gb of RAM of which 3.4 is available.  It has an 2.67 GHz Intel Core2Duo cpu.
    While in Bridge, under the "tools" menu, there no longer appears an option for batch operations such as I had with CS3.  In CS3 it was the bottom option of all those listed.  The only batch operation offered in CS4 is batch rename.  I want to run Photoshop actions on multiple images selected in Bridge but cannot since this option is not being offered.
    I have deleted preferences and rebuilt them several times, and uninstalled and reinstalled Photoshop itself so many times that the CD is almost worn out.  I have also upgraded CS4 to the latest upgrade on the Adobe site, 11.0.1.
    I've done everything I can find to do but still not fixed.  Anybody out there know the answer?  This has not been a smooth transition and is very frustrating.
    Thanks

    OK, let's see how good you REALLY are...here's a new one.  Well actually not
    a new one, but it went away for so long I thought all the other things I've
    done corrected it (CS4 update and video driver update).  It's back with a
    vengeance.
    The brush tool stops working for no apparent reason.  If I shut down
    Photoshop and restart, it works.  As long as I'm working on an image, it
    works.  Sometimes it will continue to work for several images.  Other times
    it will not work on the very next image opened.  Earlier today it worked
    fine for multiple images until I printed some, then stopped.  I thought it
    had something to do with printing so I shut down, restarted and worked
    without making any prints.  Again worked OK for a while and then stopped.
    This is true for all brush type tools...paintbrush, clone, healing, etc.  It
    seemed like if I opened files directly from Photoshop instead of via bridge
    that I had more success but now this evening it will only allow me to work
    on a single image.  If I close an image and open a new one, no brush
    function no matter how I open it.   This is just the way it acted up before
    but then went dormant as I noted above.
    There is no pattern or repeatability to it that can help me home in.  By
    that I mean, tomorrow it may indeed work fine for hours and then go wacky
    again or it may go wacky on the first image.  I thought it may have been a
    RAM or some other cumulative type problem but this is shot down by the fact
    that it will at times stop working immediately while other times work for a
    long time.
    I'm at the point where the only thing I can think of is it must be the
    computer.  I installed CS4 on an old clunky laptop and it works fine.  I
    installed the 30 day free version on this e-mail computer just as a test and
    again it worked fine.  On my super duper photo editing PC, it just won't go.
    I didn't realize that I'd have to add the cost of a new computer into the
    cost of upgrading to CS4 because the computer is not that old and definitely
    not a clunker as noted in my original post.  I'm already out about $200 for
    two new video cards and still no luck.
    Any ideas?
    JR

  • Web does not work after downloading Opera Mobile

    For two months now, my phone has been working perfectly, but three days ago, after I'd downloaded Opera Mobile, I'm not able to use the Web app on my phone. In fact, I can't open the Nokia Store or the Ovi Music Store using my home Wi-Fi connection. As a result, I can't even check for updates on my phone by going to Settings>Applications>Manage Applications. Opera Mobile works perfectly using the same connection though. Can anybody help?
    Solved!
    Go to Solution.

    have you tried to delete Opera Mobile to see if it reverses everything?

  • Edge Animate does not support Windows Vista operating system.

    Vista is not that obsolete, what the heck.

    Mainstream support from the host vendor (Microsoft) is not there, so you can imagine it is not in the best interest of software developers to do the same.
    Darrell

  • Creative Cloud file synch misbehaves - does not wait for save operation to complete before throwing an access error

        Creative Cloud File synch is too impatient and it constantly gives me an error when I try to save my project file from Articulate Storyline 2 to my folder on Creative Cloud,
    This is from my log:
    Copy Over 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' -> 'acsl://scss.adobesc.com:80/files/eIssuance/03Project/eIssuance.story'
    - ERROR: Copying file: Cannot open local file 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' for read: The process cannot access the file because it is being used by another process. (error 32)
    20150120-134758.611: Finish UL: /eIssuance/03Project/eIssuance.story (Ovr): Copying file: Cannot open local file 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' for read: The process cannot access the file because it is being used by another process. (error 32)
    Problem is, the save operation is incomplete when CC tries to access the file. And it jsut gives up. It doesn't wait or retry, which means my file never synchs UNLESS I restart the CC application, or reboots, or renames the file.
    Thats silly. Can you change that behaviour please?

    Hi,
    Could you supply me with your log files, you can locate them by looking at..
    Mac:
    /Users/<username>/Library/Application Support/Adobe/CoreSync
    Windows:
    C:\Users\<username>\AppData\Roaming\Adobe\CoreSync
    'Library' on Mac and 'AppData' on Windows are both hidden folders. Please read these pages for help on showing these folders:
    http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-extensions.html (Win)
    https://helpx.adobe.com/x-productkb/global/access-hidden-user-library-files.html (Mac)
    Please send upload them to Creative Cloud and send me a link at [email protected]

  • Operating system does not load up?

    When I turn my mac (2009) on it shows the grey loading screen but does not load up the operating system?

    Put your install DVD into the optical drive (CD/DVD drive) and reboot. Be sure to either use the disc that came with your Mac, or, if you installed a later Mac OS X version from disc, use the newer disc. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option Key until the Install Disk shows up) until the apple shows up. That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is, then click on the Mac OS partition of your hard drive in the left hand list. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions. After repairing use Startup Disk from the same menu to choose your hard drive for restarting from your hard drive.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

Maybe you are looking for

  • Use of info source in BI 7.0

    Hi,        Please priovide me the informations 1) why info source is using in BI 7.0 while corporate memory is in the flow? 2) expert routine is using when our requirement was not satisfied with the standard rules, transformations. i want to know whi

  • Satellite L655-11J - Hard disk activity all the time

    Toshiba please I need help The first run of my laptop I entered my location my name and a password, I install Toshiba updates and Windows 7 updates (the notifications I got) then I noticed the hard drive is active all the time and the laptop is very

  • Need Mic suggestions for solo guitar video...

    I have a Sony TRV-38 mini DV and need suggestions for an external mic. I want to video a solo guitar player sitting in a chair. Would I need to mic the guitar from a mic stand in front of him or would some sort of shotgun mic do the trick? Would buyi

  • ITunes 6 not burning.

    I'm having problems burning CD's in iTunes 6.0.1. I have manage to burn one CD of purchased music in iTunes 6 prior to updating my software. After asking to burn a play list it asks to insert CD (yes tried various quality brands of CD-R), checks the

  • Acrobat icons all generic with no preview?

    After reinstalling Acrobat 9 pro on a new machine all adobe pdf icons are the generic Adobe icon with no first page preview on them.  Have tried everying from the forum so far but no success. any help would be greatly appreciated!