ExecuteQueryForCollection override works in 10.1.2, not 10.1.3EA

I've overridden executeQueryForCollection in a ViewObjectImpl and it was working in JDev 10.1.2. I'm experimenting with 10.1.3, so I copied my Application and imported it. I'm getting the following error:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=[Ljava.lang.Object;
Here is a snippet of the code with the error:
protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams)
// TODO: Override this oracle.jbo.server.ViewObjectImpl method
String submissionType = null;
if (params != null)
System.out.println("length.params()="+params.length+
", noUserParams="+noUserParams);
if (params.length > 0)
// This seems to be the line at which it blows up:
submissionType = (String) params[0];
System.out.println("submissionType="+submissionType);
The printlns are for debugging only. It looks like params[0] is no longer being passed as a String. It is being passed from a ViewLink. I suspect that I can fix this, if I can determine what class the parameter is, since I'll bet there is a method that will return a String. In 10.1.2, this is definitely a String containing either "A" or "D".

BINGO!
I wasn't sure, so I checked - sure enough, the bind variable style was set to "Oracle Named". So as an experiment, I changed it to "Oracle Positional", and upon testing, I see that the parameters now contain the String values that I am expecting. I still have a bug that is causing a Null value error, that I will have to find and fix, but I suspect that this is caused by some code I added to try to diagnose the original error.
So, thanks, Steve, for putting me on the right track. Question: If I were to retain "Oracle Named", what would be the right way to retrieve the parameter values?

Similar Messages

  • How to make this work with Firefox, I like not to use microsoft products! HELP!

    Downloading for Realplayer, after watching the full movie, I click download and it has to reread the movie from the internet. When using explorer, after downloading the movie, it reads it from memory, which makes it a fast download. Hoow to make this work with Firefox, I like not to use microsoft products, and I really like Firefox 7.0.1!!!! HELP!

    -> click '''Firefox''' button and click '''Options''' (OR File Menu -> Options)
    * Advanced panel -> Network tab
    * place Checkmark on '''Override Automatic Cache Management''' -> under '''Limit Cache''' specify a large size of space
    * Remove Checkmark from '''Tell me when websites asks to store data for offline use'''
    * click OK on Options window
    * Restart Firefox
    Check and tell if ts working.

  • I use Photoshop Elements 11 to print panoramas. Works for jpeg images but not tiff. Suggestions?

    I use Photoshop Elements 11 to print panoramas. It works for jpeg images but not for tiff images. Seems strange because PSE11 manages tiff images in all other processes. Anyone fared better?

    Thank you for your trouble.
    My images are not usually layered and the particular case I am about to quote, it is not. The dimensions are 10,546 x 2,790 and the image has 16.7 mbs. I use 8 bit colour. When I set up the print screens for tiff, everything is normal until I get to the last screen with the image set upon the photo paper. Then the paper size indicated with the image refuses to budge from the A4 size, so the panorama gets printed on that. I consulted the Adobe chat line and the expert could 't get it to work either. So he came to the conclusion that the tiff capability had not been extended to printing panoramas. In seeking advice, I thought someone might refer me to an updating patch!
    Well done! You have confounded the system!  I could not find any control that would override the setting.

  • Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Please take the Mac to  Apple store to have it checked out.
    Genius Bar reservation
    http://www.apple.com/retail/geniusbar/
    Best.

  • Problem on ios 7.0.4 on iphone  enable your mobile data uncheck to green (enambled) works great ring and shows who ringing may work on 4s and five not tested please try get back to me thanks

    on iphone  enable your mobile data uncheck to green (enambled) works great ring and shows who ringing may work on 4s and five not tested please try get back to me thanks

    I'm sorry, but you are going to have to try a little better to explain your issue and what your question is, or post in your native language.

  • My voicemail does not work on my iphone 5, not receiving messages that leave me

    my voicemail does not work on my iphone 5, not receiving messages that leave me

    any person who will do the same, I communicate with at & t and nothing to do (I left messages in my mailbox I did not receive, nor the iphone notify me

  • TS1717 Started a software update this morning which didn't work.  Now Itunes will not open at all.  I get the following message."The program can't state becasue MSVCR80.dll is missing from your computer."

    Started a Itunes software update this morning which didn't work.  Now Itunes will not open at all.  I get the following message."The program can't state becasue MSVCR80.dll is missing from your computer."

    There are a couple of options that I know of to fix the issue.
    One is listed in this thread - https://discussions.apple.com/message/24606478#24606478 - and involves uninstalling iTunes and related components and then re-installing iTunes.  You will need to read the instructions in the thread to see the correct uninstall order.
    Second option is use System Restore to set your system back to a date prior to the iTunes update.  I did this before finding the thread mentioned above.
    Not sure exactly what the problem is but I know, after a search, that MSVCR80.dll was indeed already installed on my computer. 
    Message was edited by: karivers

  • My ipod works in itunes but does not appear in "my computer" after I changed the properties

    My ipod works in itunes but does not appear in "my computer" after I changed the properties.
    First off, I'm using Windows XP (and Mac SnowLeopard) Here's how it started. For some reason my ipod started showing up as a camera when I plugged it in. It works fine in itunes, though. But when I tried to access it from "my computer" it only
    showed me the one and only picture I had on my ipod. I deleted that picture hoping it would no longer show up as a camera. When it still did I right-clicked on it in "my computer" and selected "properties". Under "autoplay" I
    chose for it to 'not show up' or 'take no action' or some such deal when I plugged it in. I thought that would stop it from popping up the window that asks whether i want to 'open camera wizard' or 'open camera scanning' or 'open folder to view files' or 'take
    no action' , etc. But now it won't show up in "my computer" at all. I also have a Mac with SnowLeopard. When I plugged my ipod into it my ipod doesn't show up in "finder" either! So basically my problem is not a mechanical one with hardware
    or software; yht ipod still works fine in itunes. I just need to undo the change I made. I've searched all around my preferences, utilities, options, etc. It shows up on my "Device Manager" but not on "Disk Management".
    Any help would be very much appreciated. Thanks.

    Hi,
    To show up in Windows Explorer, you can try placing the iPod into
    disk mode.
    Moreover, i recommend you to
    restore ipod to factory settings.
    If this issue still persists, locate to device manager, uninstall and reinstall USB Mass Storage Device driver.
    Here is an article you can refer to below:
    http://support.apple.com/kb/TS1369
    To get more help, you can also redirect to apple support forum:
    http://www.apple.com/support/ipod/
    Thanks!
    Andy Altmann
    TechNet Community Support

  • Why does wireless work for one laptop and not the other?

    I have two laptops:
    1) MacBook: 10.4.8, Airport Exteme (Firmware 1.0.46)
    2) G4: 10.3.9, Airport Extreme (405.1 (3.90.0.p18)
    I have the two machines sitting right next to each other in my apartment. Machine #1 has full wireless signal strength. Machine #2 barely has any wireless signal. Neither is running Interference Robustness. Any ideas why one would work and the other would not, or suggestions as to how to debug this problem?
    I have tried stopping and restarting the Airport Extreme card on machine #2. I have also tried power cycling machine #2. This does not fix the problem.
    A little more history: for a long time I was having problems with machine #2 dropping the wireless connection. As part of trying to work around these problems I turned on Interference Robustness on machine #2. This fixed the dropping signal problem, but left me with weak signal strength. I shut off Interference Robustnes but ever since then the signal has still been weak on machine #2.
    Mac Mini Duo 1.66 GHz, 2 GB   Mac OS X (10.4.6)  

    The base station uses a single channel which all clients must use to connect.
    Have you checked the antenna connection into the card? Many people are surprised about how far the wire is actually supposed to be pushed into the card. Compare the connection with the photos in KB 108039, Properly attaching the antenna on an AirPort Extreme Card.

  • How do I troubleshoot installation/distribution of a LabVIEW .exe which processes data using Matlab when it works on some computers but not others?

    I've been given the unenviable task of troubleshooting and installing/distributing software written by a former co-worker. I've modified the LabVIEW code and built an .exe file. I've successfully installed the Labview .exe file on several computers, but it won't work on some others. What's more baffling is that I installed it successfully on one computer, uninstalled it, and tried reinstalling it with no success. In fact, it's a new error (Dr. Watson for Windows NT application error). It doesn't help that I have different versions of LabVIEW and Matlab on the target computers. Some have LabVIEW 5.1, some
    have 5.0, and some don't have it at all. Some have Matlab 5.2, some have 5.3 (R11) and some have 6.0 (R12). It's also not clear to me where the Matlab m files should be located. I'm not sure if it's a LabVIEW Runtime Engine problem, or if it's a Matlab problem. I've also wondered how LabVIEW and Matlab talk to each other. When LabVIEW calls Matlab, it seems that Matlab is running in the background. In other words, clicking on the Matlab Command Window and typing "whos" or any other command/variable doesn't work.

    Jay del Rosario wrote:
    >
    > How do I troubleshoot installation/distribution of a LabVIEW .exe
    > which processes data using Matlab when it works on some computers but
    > not others?
    Poke around zone.ni.com and
    http://digital.natinst.com/public.nsf/$$Search/ .
    Good luck, Mark

  • Phone not working after OS update, phone not working after OS update

    phone not working after OS update, phone not working after OS update

    I do have a questiion.  I started the most recent iOS update on my iPhone last night and before it was ever completed a message appeared on my screen.  It is a pic of the docking/charging cord with an arrow pointing to an iTunes logo...HELP!!!!!  I have tried holding down the home key and power button several times and the same message continues to appear. 

  • Memory works in either slot, but not both at same time?

    Hi, I've recently purchased some ram to upgrade my girlfriend's powerbook G4 15" 1.3ghz, 2x1gb chips. Before I installed it, I noticed the mac was only reporting 512meg of ram when we thought there was 1gb. Sure enough, there were actually 2x512 in there, but only 1 chip was being recognized. So, I tried the new ram anyway, to find of course that it would only recognize 1 of the 1gb chips also. In searching, of course, I've found all sorts of info on the lower slots going bad, but I've found in testing that any of the 4 chips (2 512mb and 2 1gb) will work in either slot, just not 2 chips at a time. So, both the upper & lower slots will actually function.
    When I run the hardware test on the restore cd (sorry, I'm probably using the wrong name for this. I don't have it in front of me, and I generally.. gasp.. use PC's) I get this error:
    post/0/2048 SODIMM0/J25LOWER
    Now, she did upgrade to leopard maybe 6 months ago, but other than that, no major changes.
    So, my questions would be, is this the same as the lower slot failure that everyone is having? Or is this something different? And, of course, is there anything I can do or try to fix it?
    Oh, ya, and, this machine is well out of it's warranty, so hopefully no expensive repairs are needed?

    Hi, beardo. My guess, and that's all it is, is that you have the beginnings of a classic lower RAM slot failure. I suspect, and it's only a suspicion, that lower RAM slot failures are caused by cracked solder joints, which in turn are caused by repetitive heat-related expansion and contraction of components on the logic board including the RAM sockets. My hunch, and it's only a hunch (have I qualified this post enough yet?) is that your lower slot is coming unstuck from the logic board only to the extent, so far, that when the spring-loaded slot is stressed in the particular way that having RAM modules in both slots produces, a crucial lower-slot contact is broken and the RAM in it isn't seen. When the lower slot and/or the logic board is stressed a little differently, by having a module in only one slot, the contact isn't broken. I imagine that the tolerances involved are minute: probably thousandths of an inch. I won't be surprised if the problem worsens to the point that your lower slot is completely undetected, particularly if you keep stressing the hardware by inserting and removing RAM modules in both slots, trying to find the cause. And I have nothing at all to suggest except all this guesswork and this repair option. I wish I could offer something more promising and helpful.

  • I created an Apple ID using my ISP Email when I registered at the Store/Apple Support Communities/iTunes/Face Time and it does not work in iChat. Why Not ?

    Question:-
    I created an Apple ID using my ISP Email when I registered at the Store/Apple Support Communities/iTunes/Face Time or other portal and it does not work in iChat. Why Not ?
    Answer:-
    For a Name to work in iChat it has to be an Valid AIM screen Name.
    Only Apple IDs from the @mac.com ending names registered here  and the Mobileme (@Me.com ending) names are Valid with the AIM service as well as being Apple IDs
    (I am still working on info about registering with iCloud at the moment but if this does give you an @Me.com email it may well be a valid AIM name as well)
    NOTES:-
    The @mac.com page works by linking an external (Non Apple) email with a @mac.com name.
    This External Email cannot be one linked to an Existing Apple ID (you have to use a second email or register at AIM )
    The options at AIM are to use your existing email or create new name and link the existing only for Password recovery
    MobileMe (@me.com ending names) were valid Emails addresses, Apple IDs AND a Valid AIM Screen Name
    @mac.com names look like emails but are only Apple IDs and iChat/AIM Valid Screen Names.
    The AIM registration page seems to be pushing you to register [email protected] This is relatively new and I have not followed through the pages to find out if it a valid AIM email (Previously you could register a name without an @whatever.com suffix)
    8:16 PM      Friday; June 10, 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.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

    Question:-
    So I have my current [email protected] email in iChat as I thought as I had linked that to an Apple ID it was a Valid iChat Name.  It keeps coming up with a UserName or Password Invalid message.  What do I do next ?
    Answer:-
    Open iChat
    Go to the Menu under the iChat name in the Menu Bar and then Preferences and then Accounts in the new window.
    Commonly written as iChat > Preferences > Accounts as directions/actions to take.
    If it displays with a Yellow running name in the list you have a choice.
    Either register it at AIM (I would use a different password to the ISP Login) and then change the password only in iChat  (It may take you to confirm any Confirmation email from AIM first) in iChat > Preferences > Accounts
    Or you register a new Name at AIM (Or at @mac.com) and enter that (details below)
    If you have a Blue Globe name  (@mac.com) that will not Login the chances are that it the password that is the issue.
    Apple lets you create longer passwords than can be used with the AIM Servers.
    Change the Password at iForgot to no more than 16 characters.
    Then change the password in iChat as details above.
    Adding a new Account/Screen Name in iChat (that is valid with the AIM servers)
    Open iChat if not launched.
    Go to iChat Menu > Preferences > Accounts
    Click the Add ( + )  Button at the bottom of the list.
    Choose in the top item drop down either @Mac.com or AIM depending on what you registered
    Add the name (with @mac.com the software will add the @mac.com bit)
    Add in the password.  (If you don't add it now iChat will ask you each time you open it)
    Click Done.
    The Buddy List should open (New Window)
    The Accounts part of the Preferences should now have the new name and you should be looking at the details.
    You can add something in the Description line which will then title the Buddy List (Useful when you have two or more names) and make it show up as that in the iChat Menu > Accounts and the Window Menu of iChat when logged in.
    You can then highlight any other Account/Screen Name you don't want to use and use the Minus ( - ) Button to delete it.
    8:39 PM      Friday; June 10, 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.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • My apple id is not working on my ipad mini not allowing me to download ios7 and use some apps that need internet

    my apple id is not working on my ipad mini not allowing me to download ios7 and use some apps that need internet

    You change the name of your ID at https://appleid.apple.com.  See http://support.apple.com/kb/HE40.

  • I have an old iPhone 3Gs with software version 4.3.5,  I am trying to use it again, and it works fine, but I have not been able to update the software.  Every time I try, I get the following message: "there was a problem downloading the software for the i

    I have an old iPhone 3Gs with software version 4.3.5,  I am trying to use it again, and it works fine, but I have not been able to update the software.  Every time I try, I get the following message:
    "there was a problem downloading the software for the iPhone, the network connection could not be established".  This happens even though I have a working internet connection.
    Besides that, all the other functions work properly, even synchronize apps and library.
    Will I be able to update the software?

    look around the forum tons of people repport that they can't update
    makes you suspect that apples update servers can't meet the depand of too many users
    trying to update at once

Maybe you are looking for

  • How do I connect my G5 1.8 PowerMac to a new 2011 iMac?

    I'm planning on purchasing a new mid-year 2011 iMac soon, I'd like to connect my Power Mac G5 1.8 to the iMac;  to mount to the new iMac's desktop so that I can use the internal drives on the G5 as backups, and for retrieving files I currently have o

  • Account Merge gives an error"Define realignment task"

    Dear Gurus, We have implemented BP CRM 2007(sup pack 2.0). I have a problem in account merge. Initially the account merge was working but it never triggered the batch job and so in the slave account no arciving indicator was set. Also I could never s

  • I cant install an app

    I cant install an app on my iphone cuz it says that its full of memory and its not. WHY???

  • How to get Current Page(region)  Name/ID   in OA 11i

    We need to get the name or id of the current page, and based on the pagename, we retrieve configuration to launch specific web service. pageContext.getPageLayoutBean().getPageFunctionName() is no sufficient. Since one page function sometimes contain

  • Error in Code of conduct

    Hi All, When i click on code of conduct under - Corporate inforamtion i am getting following error. The initial exception that caused the request to fail, was:    com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../sap.com/es