Does dbcp support oracle's extention to the JDBC standard

Hi. I am having trouble using method getCursor() in class OracleCallableStatement. We are using Tomcat 4.1X with dbcp and JVM version 1.4.0. The error message is as follows:
24/Oct/2002 03:56:58:330: Exception: java.lang.ClassCastException: org.apache.commons.dbcp.DelegatingCallableStatement
java.lang.ClassCastException: org.apache.commons.dbcp.DelegatingCallableStatement
at org.test.objects.Test.getCursorResult(Test.java:248)
and the code looks like this:
CallableStatement cs_l = conn_l.prepareCall("{call My_Pkg.test(?,?)}");
cs_l.registerOutParameter(2, OracleTypes.CURSOR);
cs_l.registerOutParameter(1, Types.INTEGER);
ResultSet resultSet_l = ((OracleCallableStatement)cs_l).getCursor(2);
Thanks,
Lily

Hi. I am having trouble using method getCursor() in class OracleCallableStatement. We are using Tomcat 4.1X with dbcp and JVM version 1.4.0. The error message is as follows:
24/Oct/2002 03:56:58:330: Exception: java.lang.ClassCastException: org.apache.commons.dbcp.DelegatingCallableStatement
java.lang.ClassCastException: org.apache.commons.dbcp.DelegatingCallableStatement
at org.test.objects.Test.getCursorResult(Test.java:248)
and the code looks like this:
CallableStatement cs_l = conn_l.prepareCall("{call My_Pkg.test(?,?)}");
cs_l.registerOutParameter(2, OracleTypes.CURSOR);
cs_l.registerOutParameter(1, Types.INTEGER);
ResultSet resultSet_l = ((OracleCallableStatement)cs_l).getCursor(2);
Thanks,
LilyHi,
i suspect that it might has to do with Oracle's syntax for the string object passed to the prepareCall() callable statement
begin ?:={schema.][package.]function_name[(?,?,...)]; end;
or
begin [schema.][package.]procedure_name[(?,?,...)]; end;
Kuassi

Similar Messages

  • SQL Developer does not support Oracle 8i

    Hi,
    I was waiting a tool from Oracle like SQL Developer for a long time, finally it came, but I am a little disapointed, so Why SQL Developer does not support Oracle 8i? Other free tools like SQUIRREL can do it. I also have worked in previous projects using PL/SQL Developer and it works fine...Why a native Oracle tool can not do it?
    I am in a project where we have to upgrade the Oracle database to a newer version, but I cannot have access to the old one...
    I know there are some threads in this forum, and some people can work with 8i with no issues. Can anyone who works with SQL Developer and Oracle 8i please tell me how to do it?
    Thanks,
    --Javier
    Edited by: javierlarota on Dec 9, 2009 5:40 AM
    Edited by: javierlarota on Dec 9, 2009 5:41 AM

    That's what I thought, the issue is more commercial ($$$) than technical. Anyway...I downloaded the version 1.1 but now I am getting an ORA-02248: invalid option for ALTER SESSION error. 00604. 00000 "error occurred at recursive SQL level %s".
    Thanks,
    --Javier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Does NFS support Oracle RAC with TAF ?

    Hi,
    Does NFS support Oracle RAC with TAF feature. ?
    If yes, please point to some valid document to prove the same.
    Regards
    Sumit

    TAF has nothing to do with the underlying storage architecture and is therefore 'supported' with your choice of asm, raw devices, cluster file system and NFS. NFS is supported on some platforms. For more details, check the certify tab in metalink. Some information can also be found here
    TAF will be available on any rac installation, but not all drivers support it (jdbc-thin for example)
    Bjoern

  • HT4007 Does Aperture support Images and videos from the new 3D cameras?

    Does Aperture support Images and videos from the new 3D cameras?

    If the camera is listed here OS X Lion: Supported digital camera RAW formats or here Mac OS X v10.6: Supported digital camera RAW formats then the raw image file is supported by Aperture.
    If the camera is not listed then as Keith wrote if it produces JPG's they can be imported into Aperture.
    If you told us what camera you were interested in it might help.
    regards

  • HT2371 Does apple supports to set "Telugu"as the default language?

    Does apple supports to set "Telugu"as the default language?
    What are other indian languages supported by Apple  iphone?

    These are the supported languages:
    English (U.S.), English (UK), Chinese (Simplified), Chinese (Traditional), French, German, Italian, Japanese, Korean, Spanish, Arabic, Catalan, Croatian, Czech, Danish, Dutch, Finnish, Greek, Hebrew, Hungarian, Indonesian, Malay, Norwegian, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Slovak, Swedish, Thai, Turkish, Ukrainian, Vietnamese
    These are the supported Keyboards:
    English (U.S.), English (UK), Chinese - Simplified (Handwriting, Pinyin, Stroke), Chinese - Traditional (Handwriting, Pinyin, Zhuyin, Cangjie, Stroke), French, French (Canadian), French (Switzerland), German (Germany), German (Switzerland), Italian, Japanese (Romaji, Kana), Korean, Spanish, Arabic, Bulgarian, Catalan, Cherokee, Croatian, Czech, Danish, Dutch, Emoji, Estonian, Finnish, Flemish, Greek, Hawaiian, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Latvian, Lithuanian, Macedonian, Malay, Norwegian, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Serbian (Cyrillic/Latin), Slovak, Swedish, Thai, Tibetan, Turkish, Ukrainian, Vietnamese

  • Does Iphone 6 support TD-LTE which is the 4G standard in China?

    Does Iphone 6 support TD-LTE which is the 4G standard in China?
    I also saw that there are different modes listed on the iphone6 page. Are these modes all available? A1549, A1522, A1586, A1524

    Can i buy a factory unlocked version of A1586 in US retail store.(What i mean "Factory unlocked" is that i can use A1586's all bands supported all over the world.)

  • Does SAP support Oracle SDO

    Please state the system database server component of the SAP solution with specific reference to database supported :-
    Oracle SDO (Spatial)

    Hi,
    AFAIK, no SAP product use Oracel Spatial. This can be confirmed on the SAP note  [740897: Info about the Oracle license scope; Required Oracle options|http://service.sap.com/sap/support/notes/740897]

  • When I click safari on my iMac it says my toolbar does not support this. What is the issue?

    My safari won't open. When I click it, the message says the toolbar does not support this. How can I fix safari?

    You installed the Conduit spyware. To remove it, back up all data, then follow these instructions.
    If the instructions don't work, proceed as follows.
    Triple-click the line below on this page to select it:
    ~/Library/Application Support/Conduit
    Copy the selected text to the Clipboard (command-C). From the Finder menu bar, select
    Go ▹ Go to Folder…
    Paste into the box that opens (command-V), then press return. A Finder window should open with a folder named "Conduit" selected. If it does, delete the selected item.
    Repeat with this line:
    /Applications/Toolbars
    Now you're deleting a folder named "Toolbars". You may be prompted for your login password. Next, copy this line:
    /Library
    Select Go to Folder… again and paste. Don't delete the Library folder. Delete only the following items inside it, if they exist.
    Application Support/Conduit
    InputManagers/CTLoader
    LaunchAgents/com.conduit.loader.agent.plist
    ScriptingAdditions/ct_scripting.osax
    Close the Finder windows you opened. Log out and log back in.
    I've seen a report that Conduit may be bundled with a scam "utility" called "MacKeeper." If you installed MacKeeper, you should remove it according to the developer's instructions. It's worthless and causes many problems reported on this site.

  • Just upgraded mac book pro to lion also needed a new printer printer says in has AirPrint but does not support lion ?  I need the AirPrint because of my iPad  help please ?

    Just upgraded my mac book pro to the lion operating system, the next day my printer broke.  Went to buy a new printer that supports AirPrint because I also have an iPad ( my old printer did NOT support AirPrint ). The printer I bought is an HP that said it supported AirPrint, when I installed the printer and try to run the installation software it said the printer did not support lion. Any answers or suggestions, I would LOVE to be able to finally print from my iPad.

    Check with HP whether the printer and/or printer driver is compatible with Lion. Any hint as to what printer?

  • Does 5870 support ACD/VGA/HDMI at the same time?

    I have a 5870 video card in my 2010 Mac Pro. One mini displayport (mDP) is connected to a 27" ACD. Currently I have the second mDP connected through a mDP-to-VGA adapter to a 17" VGA monitor. Everything works fine.
    I decided to free up the second mDP and reconnected the VGA through a VGA-to-DVI (I) adapter.
    http://www.monoprice.com/products/product.asp?cid=104&cp_id=10419&cs_id=1041903&pid=2396&seq=1&format=2
    Again everything still works fine.
    Now that the second mDP was free I tried to hook it to my Sony 32XBR6 to it with a a 15' HDMI cable connected to a mDP-to-HDMI DVI-I adapter.
    http://www.frys.com/product/6311581
    As soon as I connected the TV it displayed my desktop. Great, except for the fact that the VGA disconnected.
    What I found is that I cannot seem to use the second mDP for HDMI and the DVI for VGA _at the same time_. I can use the main 27" ACD and the VGA (with the HDMI disconnected) or the main 27" ACD and the HDMI (with the VGA connected), just not all concurrently as a three-monitor configuration.
    The physical connection of the HDMI disables the VGA but not the other way around. Detect displays or rebooting has no effect. I thought the 5870 is capable of driving three monitors albeit one of those monitors is through a HDMI connection. And I would think a 17" VGA cannot require that much "power" from the card couldn't handle it.
    Now I suppose the problem could be the specific adapters I used. But considering they work independently I'm not inclined to blame them.
    So does anybody have any idea what may be going wrong? Or is this just a limitation of the 5870 in a VGA/ADC/HDMI configuration?

    HDMI is basically single-link DVI plus digital audio in one cable. You can find simple DVI to HDMI adapters and cables. They contain no electronics; they just convert between connectors. They do not provide audio since there is no audio in DVI.
    DVI (and HDMI) use one data line and one clock line per link. DVI can be single or dual link, but HDMI is only single link. Mini DisplayPort has two data lines available for video. Clock lines aren't used. A passive adapter tells the Mini DisplayPort to send data on one line and clock on the other. There are not enough lines for this to work with dual-link DVI, so dual-link adapters include active circuitry to separate the clock and data from one line. VGA adapters also need active circuitry.
    The Apple tech note says that for three displays, no passive adapters can be used.
    There are some active single-link Mini DisplayPort to DVI adapters available
    <http://support.amd.com/us/eyefinity/Pages/eyefinity-dongles.aspx>
    such as
    <http://accellcables.com/products/DisplayPort/DP/mdpdvi_slactive.htm>
    (You could add a DVI to HDMI adapter or cable to make it HDMI, but it wouldn't have audio.)
    but the only active Mini DisplayPort to HDMI adapter I have found is this
    <http://www.alibaba.com/product-gs/337561577/miniactive_display_port_tohdmi.html>
    If you could get one (not 500) it should solve your problem.
    My suggestion to get HDMI from the card's DVI port won't get audio (I didn't see that requirement in your original post) but you could combine video from the card's DVI port (or from an active Mini DisplayPort to DVI adapter) with audio from the Mac Pro's optical audio output port to HDMI with
    <http://www.apogeeinc.net/products/item.aspx?item=2745>

  • Does this support AVCHD files straight from the camera (Panasonic)??

    Does the new final cut pro X support AVCHD files from the camera?  I record with a Panasonic AG-HMC40.
    Thank you

    FCPX doesn't import AVCHD files from my Panasonic GH-2, even though importing works perfectly into iMovie.  So just because camera X imports natively into iMovie, it isn't certain it will import natively into FCPX.
    iMovie archives will always import because the AVCHD has already been converted to ProRes on import.
    In FCPX the AVCHD files from say a GH-2 can be edited natively if you don't want to re-render into ProRes, but to date I can't import them to test this.
    Chris.

  • Does E52 support calling HTTPS URLs with the brows...

    Hi,
    does anybody happen to know if HTTPS websites (SSL encrypted web pages) can be browsed with E52?
    On some pages i found that SSL/TLS support is reported as "no" for this handy, which i do not understand, since this is a basic feature nowadays...
    Thanks and best regards
    Alexander
    Solved!
    Go to Solution.

    Yes, you have the same OS and Opera mini is Java. I noticed that the default browser doesn't allways show all the content. That could be a problem filling in forms etc... Opera mini has no issues.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Does ES2 supports Oracle 12c??????

    Hi,
    LiveCycle ES2 will support Orcale 12c???
    Any insight????
    Regards,
    Carter

    No, ES4 SP1 has support for Oracle 12c.
    Thanks
    Wasil

  • Does Win7 support to be installed on the eMMC card?

    I know the Win8 support to be installed on eMMC card, but not sure about Win7.
    Roland

    to run an OS from anything, you need BIOS support
    my netbook has an sdcard reader, but even with large capacity class 10 cards, the BIOS will not recognize it
    so I use a USB stick with >= 32 GB to be able to use the Windows 8 to go feature
    i have 2 corsair 32gb disks that run 8.1 ok, and they are not too horribly slow
    clearly the faster the stick the better
    Corsair Carbide 300R with TX850V2
    Asus M5A99FX PRO R2.0 CFX/SLI
    AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
    G.SKILL RipjawsX DDR3-2133 8 GB
    EVGA GTX 660 Ti FTW Signature 2 (GK104 Kepler)
    Asus PA238QR IPS LED HDMI DP 1080p
    ST2000DM001 & Windows 8.1 Professional x64
    Microsoft Wireless Desktop 2000 & Wacom Bamboo CHT470M
    Place your rig specifics into your signature like I have, makes it 100x easier to understand!
    Hardcore Games Legendary is the Only Way to Play!

  • Does Jiniator Support 3 canvas display at the same time..

    Dear Experts,,
    I am facing the new problem regarding Canvas..
    i Created 3 window. theni created 3 canvases (1 content + 2 stacked) and 2 buttons
    In Main window i displyed a content canvas and 1 button.. while pressing the button it's going to 2nd window having the 1st stacked canvas and 2nd button. There is no problem at all in this stage..
    When i press the 2nd button the 3rd window is displaying but 2nd wondow is closed..
    I looking for an output as
    3rd window overlayed on 2nd window
    2nd window overlayed on main widow..
    i'm not able to Keep 3 windows at the same time...

    You should have one content-canvas for each window, not only stacked one's. About your problem... check the window-properties "Close on exit" (should be no) and maybe Window-style and Window-mode.

Maybe you are looking for