Problem with the version of ojdbc

Hello

I have an app in struts 2, which connects to the database using ojdbc14.jar is (application Version: 'version Oracle JDBC Driver - 9.0.2.0.0'). With this version of the driver, the application works very well.
But I need to use ojdbc5.jar and whith this driver does not work.

When I do this:

callableStatement = conexion.prepareCall (consulta.toString ());

and my 'consulta' (query) have more than 10 parameters, throws an exception (out-of-bounds array index). But if my query have less than 9 parameters, it's work!
For example:
Begin to insert in the ADDRESS (TIPO_VIA, NOME_VIA, NUMERO_VIA, BLOCKS, ESCALEIRA, LOCALIDADE, MUNICIPIO, PISO, PORTA, PROVINCIA, PAIS) Values(?,?,?,?,?,?,?,?,?,?,?) return ID_DIRECCION in: i; end;

How can I fix this error?

Thank you

You mix '? 'and': I have ' in the SQL. Use '?' to the return variable - in.

Show us the code that defines the parameter values.

Published by: Joe Weinstein on April 1, 2011 13:17

Tags: Java

Similar Questions

  • Problem with the version number - help please.

    Hello, my Avast reports that my Skype is outdated and must be updated with the latest version, (7.8.0.102), but when I goto Skype help and updates, Skype says I have the latest version already installed (7.7.64.103), what happens here, can someone explain the discrepancy PLEASE?

    Cheers from TekyTek

    For later use, download (download Skype) on this site section, allways will give you the installer for the latest version (7.8 in this case) when available, even if your ' check for update ' tell you that you have the latest version.

    Just make the file skypesetup right click and select Properties, the details tab will tell you which version the Downloader is for (or in the case of a complete configuration file, what version it is).

  • Remote Debug problem with the Versions of the Runtime CVI.

    Development platform - CVI Version 8.5.1

    Target a 9.4 DAQmx is installed with the runtime of CVI worm: 9.1.0.428

    Developmenrt platform has been recently upgraded to DAQmx 9.4

    Re-installed CVI RTE (ver. 9.1.0.428) on the development platform - even if it was previously installed.

    I get on this error message on the system target "runtime of LabWindows/CVI on the target is newer than your lab Windows/CVI environment.  You need to upgrade the Lab/Windows environment if you want to debug your application. »

    The two systems (development platform & target) have the same versions of CVI RTE and DAQmx.  I did a re - compile full .exe application I am trying to run on the target.  I have re-installed CVI RTE on the development platform.

    What's not here?

    LabWindows/CVI environment is development platform.

    That is: you must either downgrade the runtime on your target to match the existing 8.5.1 machine debugging or level CVI installation on the development computer to match the 9.1 on the target (if I am not mistaken 9.1 mean CVI 2009 SP1). Both machines must have the same version or debugging of the machine must be newer than the target.

  • For Word documents created on my IMAC, I have problems with the versions downloaded on my MacBook Air

    Randomly, he hands in shape (and live upward) documents sent by e-mail, dropboxed, or downloaded from Google Docs. Is this a problem with El Crapitan? This can be corrected?

    See if that helps.  b1c2c https://support.Office.com/en-US/article/Send-a-document-in-an-e-mail-message-5F

  • problem with the version of the iphone apple id 9.3 5s

    I have the iPhone 5s and updated a new version for the iPhone , the 9.3 version 
    After the update , the iPhone has asked me to write the apple id mine and I wrote the apple id true, then the iPhone said that can be used in apple id that unlock the iPhone that, I tried all the options and luckily I read on the internet that I'm not the only one with this problem iPhone 5s and thousands users with this problem , I've been 6 days without a phone , what to do ? I read that connect the device to iTunes and iTunes alone offers you upgrade to the new Athgirsh of 9.3 but when I plugged the device it did not offer me any version only ran once again the apple of my id
  • connection problems with the version 6.18.0.106

    Hello

    I have Windows XP and I have always used an earlier version of Skype, but now the old version is retired and I can't use it. So I download the new version 6.18.0.106, but this one has a connection problems. Every 4 seconds, I am offline and then online again for 4 seconds. My connection is OK and my provider does not block Skype calls. Is there anyone who knows how to fix?

    Try to uninstall the latest version and install the older version of Skype 6.14.0.104:

    http://download.Skype.com/MSI/SkypeSetup_6.14.0.104.msi

  • I have a problem with the version of phone of my site to shift to the left on the screen

    Has anyone else experienced this problem? I tried my anchors of centering and to the left, but without success.

    I see the difference of the space to the right of the page in mobile version, have you tried to check for any empty object outside the area of the page or any content that extends outside the area of the page?

    Thank you

    Sanjit

  • Problem with the Version defined in PSE 13.

    Just upgraded PSE 13 of PES 12 - everything goes OK except can't go down in games of version on the photos.  Worked well in PSE 12 but NOT on version 13.  Has spent about 2 hours on the Adobe online chat yesterday - unsuccessfully - techno could not resolve - gave him the same problem when he created his own test case.  Any comments?

    Doug: I'm not an expert so I am not sure whether the following question/suggestion will help you.

    You also experience the issue after you do the following in the Organizer:

    in the Menu bar horizontal: view--> check "Details"?

    Otherwise: try it out and you could get happy.

  • Problem with the version of Adobe Premiere test

    Hello guys,.

    IM quite new to the cloud just creative thing and yesterday I wanted to test adobe first. Then first, I downloaded the cloud creative and in the application, I downloaded creation and enforcement me has said that its installed now. But there is no button to open it. Here is a picture of her:

    Premiere CS6.PNG

    Sorry for my bad English

    Maybe it's a false error that hides the real problem... a 32-bit computer

    You MUST have a 64-bit computer and operating system... What is your computer?

    -http://windows.microsoft.com/en-AU/windows7/find-out-32-or-64-bit

    -Programs are supposed TO not view or download if they are not installed on your computer

    -http://helpx.adobe.com/creative-cloud/kb/all-apps-displayed-aam.html

    MINIMUM for After Effects and Premiere Pro http://helpx.adobe.com/premiere-pro/system-requirements.html

  • Problem with the version and language

    I bought a x 1 standard. I mentioned English. I got a different langaue version. I change the language?

    Hi ShahabSokhansanj

    Please visit: http://helpx.adobe.com/x-productkb/policy-pricing/order-product-platform-language-swap.htm l

  • problem with the version sagna

    Hello world

    I tried to install Oracle 11 g 2 on RHEL5.3 and I got an error indicated my version is not supported.
    2 months ago I tried to install Oracle 10 g on RHEL 5.5 2 and I got the same error

    I did was edit ' / etc/redhat-release ":

    ##############
    Red Hat Enterprise Linux Server 5.4 release
    ##############

    Why happened this Oracle certifies these versions of Oracle whit these sagna versions?

    Thanks for your help
    PD: Sorry for my English

    Hi beto;

    Certified platform, don't know why sound through this message.

    Please check
    Oracle® database quick reference (8.0.5 to 11.2) [ID 169706.1] Linux®, AIX®, HP - UX®, Unix, Mac OS X, Solaris, Tru64 Unix® operating systems Installation and system requirements

    Respect of
    HELIOS

  • Print problems with the recent update to Version 10.11.5

    Print problems with the recent update to the Version of El Capitan 10.11.5.  Cannot print to my Epson and Samsung printers after update to new IOS.  Print jobs get hooked on my Mac Pro.

    Roger 510 wrote:

    Print problems with the recent update to the Version of El Capitan 10.11.5.  Cannot print to my Epson and Samsung printers after update to new IOS.  Print jobs get hooked on my Mac Pro.

    Have you checked with Epson for an updated printer driver?

  • Hello! The new version of Firefox, I have a problem with the opening of the site VKontakte. The browser displays the following error message: "Firefox has determined that s.

    Hello!
    The new version of Firefox, I have a problem with the opening of the site VKontakte. The browser displays the following error message: "Firefox has determined that the server redirects the request for this address in a way that it will never end." How to solve this problem? Please excuse me for my English.
    Sincerely, Vsevolod.

    This can be caused by corrupted cookies or cookies that are not sent or otherwise blocked.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    See also:

  • I tried to install the latest version of itunes with windows 10 but he said "there is a problem with the installation package. A program to complete the installation could not be executed. Please contact the support staff. No matter what guys?

    I tried to install the latest version of itunes with windows 10 but he said "there is a problem with the installation package. A program to complete the installation could not be executed. Please contact the support staff. No matter what guys?

    (1) temporarily disable your security/antivirus software

    (2) download iTunes from the official source: http://www.apple.com/itunes/download/

    (3) try to reinstall

    (4) turn on your anti-virus

  • Windows Media Player version 11.0.6001.7010 with Vista. Problems with the automatic synchronization of music backup

    Windows Media Player version 11.0.6001.7010 with Vista. Problems with the automatic synchronization of music backup.

    Backup not working in all of these songs/albums that appear also in personal playlists. Does not account for all of the media/music in Windows Media Player. It is also not known where there are additional tracks from the same album, appearing in a personal reading list, these additional tracks (that is, it will take 2 album, but ignore the other 10). Has only begun to occur in 2-3 weeks.

    Previously, when I set up the sync partnership, there are options in playlists 'Sync' discovers the device Set Up, such as 'All music' 'All images' "5 * appreciation of music" etc. None of them showing now also available. Offered only my personal Playlists. All solutions?

    Hi Phil,

    Thanks for posting your question in the Microsoft Community forum. I understand that you can't auto sync in Windows Media Player. I'll help you with this problem.

    Before troubleshooting, provide us with information.

    1. don't you make changes to the computer before this problem?

    2. have you updated to Service Pack 2 installed?

    3. don't you make changes to the computer before this problem?

    This problem may occur if there is an inconsistency in the system files related to Windows Media Player. Follow these methods:

    Method 1.

    Solve problems in Windows Media Player: http://windows.microsoft.com/en-us/windows-vista/troubleshoot-problems-in-windows-media-player

    Method 2.

    Open the troubleshooting Windows Media Player settings Troubleshooter by clicking the Start button, then Control Panel. In the search box, type troubleshooting, and then click Troubleshooting. Click View all, and then click the Windows Media Player settings.

    Method 3.

    You can try to disable and enable the Media Player Control Panel.

    Steps to disable Media Player.

    (a) click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) to develop media features and uncheck the box next to Windows Media player. Click on ok and wait a few minutes to complete. Once this is done, restart the computer.

    Steps to activate the Media Player.

    (a) click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) to develop media features and check the box next to Windows Media player. Click on ok and wait a few minutes to complete. Once this is done, restart the computer.

    Method 4.

    You can run the Microsoft Safety Scanner to make sure that the computer is virus-free.

    Microsoft Safety Scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Security Scanner warning: there will be a loss of data through an analysis using the Microsoft safety scanner to remove any viruses found.

    Additional information.

    Set up a device to sync in Windows Media Player: http://windows.microsoft.com/en-US/windows-vista/Set-up-a-device-to-sync-in-Windows-Media-Player

    Windows Media Player sync: Frequently asked questions: http://windows.microsoft.com/en-us/windows-vista/windows-media-player-sync-frequently-asked-questions

    If you need help on this particular issue or any other related Windows issue, let know us and we will be happy to help you.

Maybe you are looking for