Adf faces tutorial - Toplink model is out of sync with the database.

When running the adf faces tutorial I encountered some problems. The starter workspace uses toplink and the model should be based on the OE schema database objects. However the Customers class is different from the database table, especially the custAddress (but also the phoneNumbers).
Thus when running the application, the creation and update of a customer (with data for the address) raises the following error:
javax.faces.FacesException: #{ManageCustomers.doUpdate}: javax.faces.el.EvaluationException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Developer Preview 3 (10.1.3.0 ) (Build 041116)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-00932: inconsistent datatypes: expected OE.CUST_ADDRESS_TYP got CHAR
Error Code: 932
Besides, the application is not able to display the address properly (due to the same problem) but shows something like: oracle.sql.STRUCT@43e and it cannot display the order_date (timestamp with timezone) correct.
I get the impression that the toplink model is based on an old or modified OE schema and has not been updated. I like the tutorial, but I would appreciate it when it is correct and does not contain such flaws as descibed. Please update the workspace.

Ship missing arch files to the standby arch dest manually and initiate recovery of the standby db.No need to regenerate the controlfiles. You might want to investigate the reason why they were not sent to the standby db.

Similar Messages

  • Eclipse XQuery expression validation failed: The current configuration is out of sync with the XQuery resource in the repository.

    I created a wsdl based on a dbadapter in jdeveloper, imported into eclipse and created the biz and the proxy and uploaded to oracle service bus, it works fine,
    but happens now that i need to have a xsd and wsdl with business names and not table names, invented to create a xsd and wsdl file in jdeveloper
    and then went to eclipse and tried t xquery tranformation, but when i add the replace in the message flow in the filed in Variable : body and Expression i look for the xquery and in the binding trying to put
    $body/input parameter, get the following error [RouteNode1, Replace action] XQuery expression validation failed: The current configuration is out of sync with the XQuery resource in the repository.
    what im doing wrong or its configuration
    thanks in advance sonia

    thanks
    ok have created a table with only in column varchar2(1)
    then the type object and the procedure to insert it works the proxy in the osb if i test it inserts
    now in jdeveloper i created an xml file with
    <?xml version="1.0" encoding="windows-1252" ?>
    <vessel>
    <barco>a</barco>
    </vessel>
    then i created a xsd based on this xml, and a wsdl based on the xsd
    in eclipse created a xquery transformation and selected source as the xsd created in adf and target the xsd input parameter, dont know why in the purple ball of the input parameter it puts a ?, an a f.
    then in the proxy xpath not writing anything in variable body and in the expression select the xquery and in binding select the parameter

  • When I watch tv shows in Front Row that I've bought off iTunes the audio gradually falls out of sync with the video. It does not happen with other files that I have converted into mp4s. Any ideas for fixing this? It's a huge bummer...

    When I watch tv shows in Front Row that I've bought off iTunes the audio gradually falls out of sync with the video. It does not happen with other files that I have converted into mp4s. Any ideas for fixing this? It's a huge bummer...

    I too have the same problem.  The audio drop out of sync in about 5 sec in not uncommon for the audio to be 30+ sec behind video.  Apple needs to fix this!!!!!!!!!!!!!!!!   its a joke,  my iphone is all messed up after the last update as well.  at one time not to long ago apple products and software were top rated, not so much any more, more and more problems are showing up and apple is unwilling or unalbe to fix the many issues.  Apple needs to fix the audio sync problem, it not the computer hardware or other software it ITUNES!!!!,  there is no workaround other then hitting pause and hitting pause and hitting pause to temp fix the problem. 

  • When I watch my tv shows in itunes, the people's voice is out of sync with the picture.  any suggestions???

    When I watch my tv shows on my mac computer thru itunes, the voice is out of sync with the picture.  any suggestions???

    Let's try the following user tip with that one:
    iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows

  • Entity Bean Rollback fails: caches are out of synch with the database

    We are encountering a critical issue where the rollback of a session transaction rolls back any database changes, but doesn't roll back bean changes in memory. When we next access the bean, it returns information that should have been rolled back. The memory cache is out of synch with the database.
    We have a simple session bean S, using container managed transactions. We also have an entity bean E using bean managed persistence. E has a single member <name>.
    We implement a method s() in S with <trans-attribute> Required as follows:
    public void s() {
    Context lookupContext = getLookupContext();
    SHome shome = (SHome) lookupContext.lookup(SHome.NAME);
    S s = shome.findByPrimaryKey(thePrimaryKey);
    System.out.println("-- current name = " + s.getName());
    s.setName("IGNORE");
    EJBContext ejbContext = (EJBContext) getContext();
    ejbContext.setRollbackOnly();
    Since this is BMP, the setName call issues our SQL update against the S record. When the session transaction rolls back, the database changes are also rolled back. But the entity bean in memory shows the modified name. We can see this in the next call to s() since the getName() returns IGNORE rather than the original value. We have also gotten debugged into the underlying instance cache associated with the S bean descriptor. I.e.
    AbstractEJBHome ejbHome = (AbstractEJBHome) lookupContext.lookup(SHome.NAME);
    AlternateHashTable aht = ejbHome.getBeanDescriptor().getCache();
    Looking at this map of bean instances also shows that the bean instance for S is not rolled back.
    From previous conversations with the server technologies team, we understand that during the transaction, we should be working on a cloned copy of the S bean. Upon rollback, the copies should be discarded rather than merged back to the cached bean. They seem to be merged regardless of rollback state.
    We are using OC4J 10.1.3.0.0 (build 060119.1546.05277).

    Actually, what one or the developers in my group found out is two things:
    1) The clone is a shallow copy.They copy the references but not objects themselves. This has been causing problems for us.
    2) It seems that you don't work on a copy and you work on the original and they keep a copy. Now, this is fine IF you don't have multiple threads working on the same Entity bean and we moved our application from Weblogic where it throws an exception if that Entity bean is in use to OC4J which is suppose to copy the bean and doesn't so you have multiple threads possibly modifying the same object.

  • HT2729 I bought a TV episode from iTunes (I have version 10 installed), but when I try to play it on my laptop, it keeps stopping and starting, with the voices out of sync with the action.  The action is stop/start as well.  What settings can I change to

    I bought a TV episode from iTunes (I have version 10 installed), but when I try to play it on my laptop, it keeps stopping and starting, with the voices out of sync with the action.  The action is stop/start as well., and occasionally it skips 5 or 10 seconds altogether, making it impossible to watch.  What settings can I change to fix the problem.

    Repair your QuickTime.
    Control Panel > Programs n Features > highlight QuickTime and click CHANGE then REPAIR.

  • Just bought an iMac and use iCloud.  calendar appointments on iMac are displayed 24 hours out of sync with the iPhone.  the iPad and macbook air pick up the same information correctly.  why is this?

    just bought an iMac and use iCloud.  calendar appointments on iMac are displayed 24 hours out of sync with the iPhone.  the iPad and macbook air pick up the same information correctly.  why is this?

    Hi smokeondz,
    Thanks for visiting Apple Support Communities.
    If your iCloud calendar entries are not displaying as expected, start with the troubleshooting steps in this article:
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/ts3999
    Best Regards,
    Jeremy

  • Why is the sound out of sync with the video on my PC laptop?

    The sound is out of sync with the video, it skips (like the old-fashioned vinyl records) or there is no sound at all. As well, the video portion is jerky.
    I'm travelling and don't have access to a TV so have to watch it on my PC laptop.
    I've rebooted my laptop a couple of times, but the problem re-occurs.

    In what app?
    Have you restarted or reset the device?

  • TS1424 when playing video after downloading program the speak is out of sync with the movie. How do I repair this? I'm using a new toshiba laptop with windows 7. Thanks

    when I playback movies or tv programs I've downloaded the speech is out of sync with the video. I have removed itunes as suggested and tried re installing itunes but the problem still exists. Has anyone experienced this and what can I do to fix this? Thanks

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Any video application I use with my iSight is out of sync with the audio.

    It doesn't matter which application; Skype, Facetime, Google Talk, or trying to record a live video is all out of sync. The video appears to be lagging behind as I can still see my mouth moving after I'm talking. What's the problem? Sometimes I think I'm stuck in some type of bad kung fu movie timewarp... Someone help me get back to normal!
    Thank you!

    Hi,
    I would start with older threads on the issue
    https://discussions.apple.com/message/4096816#4096816
    I started from the More Like This box.  I choose what I thought would be a likely one then repeated the choice again at that thread as it had some that were marked with the green Solved tick.
    7:54 PM      Friday; July 8, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • ITunes movies work fine, but when i put them on my iPad 2 they video is out of sync with the audio. Help me

    Hi guys, I download lots of films, primirally through a program called Vuse. I then drag and drop the movie files from "All my files" on my mac into itunes and all this is fine. The movies will play briliantly and smothly, however when it comes to putting them onto my iPad 2 the audio becomes out of sync. I have tried restoring and then re installing everything but no luck.
    Just wondering if anybody else has any problems and if/how they resolved it.

    Although it not only bothers me but alot of other photo booth users aswell

  • Slowness in the video's I view. The video is out of sync with the audio?

    When I'm on a website that displays video and audio, the two are not in sync with one another. This constantly happens. Whether I'm watching a music video on youtube, or watching a discussion on yahoo finance, the problem is always there. Can someone explain why things are out of sync (video--audio) , and is there something I can do to remedy the issue? Thank you.

    You can check for problems caused by a recent Flash 11.3 update and possibly downgrade to Flash 11.2 or 10.3.
    *https://support.mozilla.org/kb/flash-113-doesnt-load-video-firefox
    *https://support.mozilla.org/kb/flash-113-crashes
    *http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    Try to "disable the hardware acceleration" in the Flash Player.
    *http://helpx.adobe.com/flash-player/kb/video-playback-issues.html
    See also:
    *https://support.mozilla.org/kb/keep-flash-up-to-date-and-troubleshoot-problems
    Flash "Display settings" window:
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html
    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    *https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers

  • Why is my video exporting out of sync with the audio?

    Every time I export it (and it takes some 2 hours just to export a draft version) the video is sped up, but the audio isn't, so that the video is out of sync and at the end there's just black space with the end of the audio.
    Both the video footage and the composition have the same frame rate (24p). I am exporting with Render Settings set to DV settings and output module set to Quicktime DV NTSC 48kHz
    When I edit it I've been timing it to the seconds and frames because it's such a large file that I can barely RAM preview 5 seconds of it, and so it's especially frustrating that it's completely off when it exports.
    Has this ever happened to anyone here?

    Ahhh, right.
    I'm using After Effects CS5.
    The footage I'm using is in .mov format, although to be honest I'm not sure about the codec  (I imported it straight to After Effects from my Canon 7D's memory card? I think it's H.264)
    I also have some PNG sequences.
    I used the AE Render Queue.
    The computer I'm using runs OSX.
      Processor Name:
    Quad-Core Intel Xeon
      Processor Speed:
    2.8 GHz
      Number Of Processors:
    2
      Total Number Of Cores:
    8
      L2 Cache (per processor):
    12 MB
      Memory:
    4 GB
      Bus Speed:
    1.6 GHz

  • My outlook is out of sync with the e-mail counts in several folders.

    For example, outlook thinks there are 4 billion junk e-mails in my junk folder. And, periodically, I can not delete or move e-mails and have to log out several times before I am able to delete or move items.
    Thank you in advance for your help

    Hi,
    While the emails are selected, keep the Shift key pressed and hit the Delete key, can you delete the emails this way?
    In case it's caused by 3rd-party add-ins, please try starting Outlook in Safe Mode:
    Press Win + R and type “outlook.exe /safe” in the blank box, then press Enter.
    If there’s no problem deleting emails in Safe Mode, disable the suspicious add-ins to verify which add-ins caused this issue.
    I also recommend you run Scanpst.exe to repair your Outlook Data File:
    http://support.microsoft.com/kb/272227/en-us
    Regards,
    Melon Chen
    TechNet Community Support

  • Week of the year number appears out of sync with the day of week the week #

    Using the querry below on on a table where the pdate value is a sequential list of dates on an Oracle 11 database the results show the week of the year number changes on the day of the week number 7 not the day of the week number 1. Is there a patch to fix this?
    select
    pdate,
    to_char(pdate,'D') dow,
    to_char(pdate,'Day') Day_name,
    to_char(pdate,'WW') week_of_the_Year
    from daily_period_tab
    where pdate >= '07-jan-11'
    and pdate <= '09-jan-11'
    07-JAN-11     6     Friday      01
    08-JAN-11     7     Saturday      02
    09-JAN-11     1     Sunday      02

    Hi,
    Independent of you NLS settings, you can do this:
    SELECT     TRUNC ( dt + 1
               , 'IW'
               ) - 1     AS sunday
    FROM     table_x;The output in the sunday column will be the Sunday on or before dt. The "magic number" 1 indicates that your week starts 1 day before the ISO week, which starts on Monday.
    Or if you want to use your NLS settings:
    ALTER SESSION     SET NLS_TERRITORY= 'AMERICA';
    SELECT     TRUNC ( dt
               , 'DY'
               )          AS sunday
    FROM    table_x; 
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.

Maybe you are looking for

  • Trouble getting Illustrator CS4 to run, and when it does: no workspaces

    At work (University of St Andrews) I have Adobe CS4 Web Premium and everything installs and runs okay apart from Illustrator CS4. I've tried to install it on two different PCs, both Dell Precision workstations. One had Windows XP Professional 32-bit,

  • Open downloaded files on linux

    After files have downloaded, in the Downloads dialog, whether I right-click and select "open contaning folder" or simply "Open", firefox tries to open the selected file (or folder) in gedit, which of course gives an error. Why doesn't firefox follow

  • Where can I purchase Firewire for First Generation Firewire

    Recently a friend gave my son his 1st generation IPOD. Unfortunately, he did not give him the cable to connect the ipod to his computer (windows operating system). He has been looking for the cable for the past several months -- with no luck. He is a

  • Cannot change desktop image/wallpaper

    Forgive me if this is solved elsewhere. The desktop image cannot be changed from the one that came with the unit. I could select another image briefly(my own and stock mac) for a while but recently, when I try to change it,it just flashes the new one

  • Disk Utillity 10.4.6 errors creating .DMG

    I had a client over yesterday, we reformatted his system, installed Tiger 10.4 updated to 10.4.6 installed all of his applications, configured all of his settings, and I've told him now that it's clean, and configured, with permissions repaired, to m