Does callableStatement.SetNull() work fine with ojdbc5.jar in oracle 11gr2

Hello,
CallableStatement.setNull(1, Types.ARRAY) throws java.sql.SQLException: Invalid column type: sqlType=2003
and
CallableStatement.setNull(1, Types.ARRAY, "SOMEARRAYTYPE") throws java.sql.SQLException: ORA-06531: Reference to uninitialized collection
ORA-06512: at "SYSTEM.SOMEARRAYTYPE", line 6
ORA-06512: at line 1
Is this a problem with the driver? Is there any other way of setting null value for a parameter of ARRAY type?
Thanks.

user8915609 wrote:
But setNull(..) itself means that we are setting a null value. doesn't it?I dunno.. what does the Java docs say?
I am using setNull(..) instead of setObject(..) because i want to set a null value for an array parameter of the stored procedure.Well, that does not seem to be working, does it? So it is reasonable to assume that your are not correctly using/understanding what the setNull() call does.
For example (following on from the sample code I posted above), it depends on what one attempts to set to null in a collection:
SQL> declare
  2          variable        TStrings;
  3  begin
  4          --// a variable can be null
  5          variable := null;
  6  end;
  7  /
PL/SQL procedure successfully completed.
SQL>
SQL> declare
  2          variable        TStrings;
  3  begin
  4          --// a collection item cannot be null if the
  5          --// collection itself has not been instantiated
  6          variable(1) := null;
  7  end;
  8  /
declare
ERROR at line 1:
ORA-06531: Reference to uninitialized collection
ORA-06512: at line 6
SQL>
SQL> declare
  2          variable        TStrings;
  3  begin
  4          --// instantiate with 2 items/strings in the collection
  5          variable := new TStrings('1','2');
  6 
  7          --// now we can set an existing item to null
  8          variable(1) := null;
  9  end;
10  /
PL/SQL procedure successfully completed.
SQL> If you code a command in ANY language, then you need to know EXACTLY what the command does, and why you are using it.
If not - then it is a fail on your part.

Similar Messages

  • Does Tomahawk FileUpload work Fine with the latest Apache/Java EE tecnology

    Hi all,
    I am beginning to think that Tomahawk FileUpload (tomahawk-1.1.3.jar) cannot work fine with EJB3.0?
    Has anyone tried this combination yet? I was trying the steps given using the following link:http://wiki.apache.org/myfaces/Setup_For_File_Uploads
    but to no avail.
    Thanks

    You haven't given any details on how you're trying use the component, any code samples or error messages. You're going to need to provide more information if you would like people to help.

  • RXTX receive problems, but works fine with COMM.jar

    Hi there,
    I have a program that controls a piece of hardware via the serial port. It sends a command and has a serialport event listener that sits and waits for any response. Using the Sun Comm Library this works fine, but when I use the latest RXTX package, only send works, it receives nothing back (the event listener is never triggered). I know it sends as the device does what it has just been told to do.
    Any ideas anyone?
    Thanks folks. :)

    I notice that www.rxtx.org has a mail list for asking questions like that.

  • Does Dell24WPF-HC work fine with McPRO?

    Please help. I cannot afford the 23'ACD and looking at the Dell 2407WPF-HC as an alternative to use with the standard 2.66GhZ/Nvidia GeForce7300 256Mb.
    PCBuyit.co.uk has an interesting price, but my main concers are:
    1. will it work with the MacPro? Has anybody got it and been using it with no problems?
    2. is this a decent monitor for non-professional photography?
    3. any bad reports on PCBuyit?
    Any input greatly appreciated.
    Many thanks

    I'm using a Dell 24" 2405FPW and it works extremely well with my MP. I do find the display rather bright, over-bright in actual fact, and I've still got the brightness on mine set to minimum to 25% so be sure to look at the display's brightness/contrast specs before buying as this can affect your photographic use.

  • Run time error elements 10 tried everything on web help pages, rename reload still does not run, works fine with edit

    How do i fix it

    Hi 8tharmy,
    It's hard to tell what this error triggered,  Best approach will troubleshooting the issue and narrow down to the root cause. Best KB provided by Adobe you find here.
    Windows: https://helpx.adobe.com/x-productkb/global/troubleshoot-system-errors-freezes-windows.html
    Mac: Troubleshoot system errors, freezes | Mac OS 10.x | Adobe software
    If you like help please share some additional information in this topic or share the result and the issue statement with Adobe support. Learn & Support

  • Does Data Integrator work fine with excel data sources?

    Post Author: sasidhar
    CA Forum: Data Integration
    Hi,
           We are pulling 10 different excel data sheets into a Oracle database, is anybody aware of any issues migrating that data using BODI?
    Thanks,
    Sasi.

    Post Author: msavage
    CA Forum: Data Integration
    No it works great.  It used to be kind of crappy because you had to go through an ODBC connection to do it.  However in the last major version upgrade XIR2 they added it as an actual object in the Formats tab next to the Data Sources tab.  This makes it a lot easier as you can just drag the object into your data flow, enter in the appropriate information and you are good to go.

  • Hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    Have you changed the system voice to an English one in system preferences?

  • HT2515 My cam works fine with every program except yahoo.  If I just sign into yahoo or even if I use ichat for yahoo, the webcam button will not highlight up.  How can I fix this and/or what am I doing wrong?

    Hello, my father recently passed (using his ID) and I took over the payments on his mac and took his computer.  I am not that familiar with mac, but am usually computer savy.  However, this one has me stumped.  I have no problem starting the built in cam and it seems to work fine with all other programs I've tried using it with.  However, it will not work with yahoo.  Whether I use normal yahoo messenger or if I try using Yahoo through I chat.  The cam button will not light up, therefore, it is not clickable.  Which ultimately means I cannot use my cam on yahoo, which is something I use 99% of the time compared to other programs.  So why is this happening and what solutions can I take to try and fix this?  The mac I am using is: Mac OS X, Version 10.7.4
    Thank you for any and all help, it is much appreciated. 

    Welcome to Apple Discussions!
    1) If the iTunes preference window is open when you connect your iPod, the iPod will not be recognized by iTunes.
    Also, iPods can work with many iTunes libraries, so that is not the problem here.
    Is all the software on your computer up to date?
    iTunes
    iPod Updater
    Updating iPod's Software
    Does the iPod show up in My Computer when connected to your computer? Does it say Do Not Disconnect?
    Try the steps listed here...
    iPod shows up in Windows but not in iTunes
    If you are going to use your iPod with multiple iTunes libraries (home and school)...
    Using iPod with multiple computers
    2) What part aren't you understanding. Here are a couple of free programs you can use to convert videos...
    MPEG Streamclip
    Videora iPod Converter
    The programs should come with documentation and instructions to convert videos.
    3) You can go to file-->add file to library, file-->add folder to library, or have iTunes open and drag the files into the iTunes library while viewing the library.. You can also import from CDs.
    iTunes needs to be adding the songs to the iPod. You cannot just add the song files to the iPod.
    btabz

  • Recently, I can't get any sound from my game applications.  Sound works fine with video, streaming, etc, but not my game applications.  I've tried powering down and re-booting, but the sound does not return.  Can anyone help me?

    Recently, I can't get any sound from my game applications.  Sound works fine with video, streaming, etc, but not my game applications.  I've tried powering down and re-booting, but the sound does not return.  Can anyone help me?

    Have you got notifications muted ? Only notifications (including games) get muted, so the Music and Videos apps, and headphones, still get sound.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad above the volume switch, or via control centre : swipe up from the bottom edge of the screen and it's the right-most of the 5 icons in the middle of it (if the icon is white then it's 'on', tap it to turn it grey and 'off'). The function that isn't on the side switch is set via control centre instead : http://support.apple.com/kb/HT4085

  • Please help. just got my jabra halo, worked fine with my iphone4 but can't use it on my macbook pro. it always prompts " the devise does not have the necessary service

    please help. just got my jabra halo, worked fine with my iphone4 but can't use it on my macbook pro. it always prompts " the devise does not have the necessary service

    Found these instructions here:
    https://discussions.apple.com/message/15388885#15388885
    I found an answer that worked for me. I am using an iMac.
    (1) Sign out of the iTunes store
    (2) Open a NEW account with a new Apple ID
    (3) Go through the sign up process and then go to the ACCOUNT INFORMATION page
    (4) Go to RECOMENDATIONS & PING POSTING
    (5) Turn on Genius there
    Once the Genius updates, you can sign out and then sign in under your original Apple ID or the e-mail address you use for the iTunes store. All my store credit was there and now Genius worked.
    Rather odd but I actually like the Genius at times except when it can't deal with some of my lesser known bands that I listen to.
    Worked for me.

  • Trying to download image files into lightrrom 5 on an imac running 10.8.5. Works fine with camera roll section but Icloud section does not appear as source in lightroom. How to access?

    Trying to download image files into lightrrom 5 on an imac running 10.8.5. Works fine with camera roll section but Icloud section does not appear as source in lightroom. How to access?

    You need to sync them in iTunes and download them there, then simply open them from the folder where they are stored in other programs.
    Mylenium

  • I own the 4s and my BT Planttronics Pro works fine with calls but does not work to listen to music? Any ideas on how to correct this?

    I own the 4s and my BT Planttronics Pro works fine with calls but does not work to listen to music?
    Any ideas on how to correct this?
    Thanks-Vitaleyes

    I don't know what they call it, but my plantronics voyager pro, and my wifes plantronics voyager pro+ will not let you hear music through the headset.  My Blueant T1 does support it and plays the music through the deadset.

  • HT1277 Since installing Mavericks my outgoing talktalk mail has stopped working. Incoming mail works as does iCloud. I have checked settings and these all appear ok.My MacbookAir without Mavericks works fine with same router.Has anybody else had this ? Th

    Since installing Mavericks on my iMac my outgoing talktalk mail has stopped working. Incoming talktalk mail works fine as does iCloud outgoing and incoming. I have checked settings and these all appear ok. My MacbookAir without Mavericks continues to work fine with the same talktalk router etc used with the iMac.
    Has anybody else had this ?
    Thanks

    Mail/Window/Connection Doctor - if a server is red, select it and look at the Show Details box.
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • Does Essbase Excel Plugin 11 work fine with Microsoft Office 2013

    Hi,
    My Company is planning to Upgrade to Microsoft Office 2013. Does Essbase Excel Plugin 11 work fine with Microsoft Office 2013?
    Thanks,
    Shashi

    Hi Shashi,
    Below content is taken from oracle certification matrix.Microsoft office 2010,2008 supports the lastest version of 11.1.2.3.More info check with the oracle certification matrix.
    Version Supported
    Vendor
    Certification Type
    Version
    Exceptions and Additional Information
    11.1.2.3
    Microsoft
    Office Productivity Suite
    Office 2007 (all SP levels included)
    Office 2010 (all SP levels included)
    1. MICROSOFT OFFICE IS REQUIRED FOR: Smart View and Offline Planning when used with Reporting and Analysis, Financial Management, and Planning. Microsoft Office is also required for Disclosure Management, FDM, Financial Reporting Client, Performance Management Architect File Generator, and Strategic Finance.
    2. Offline Planning and Excel must be installed on the same machine.
    3. Microsoft Office 2010 (32-bit Office on 32 or 64-bit operating systems, 64-bit Office on 64-bit operating systems)
    4. EXCEPTION:  Disclosure Management has installation prerequisites. For Office 2007. See http://support.microsoft.com/kb/970942.
    5. EXCEPTION: FDM server only supports the 32 bit version of Office.

  • Hotmail has an EMOTIONS tab which works fine with IE but does not work with Firefox. Is there a fix?

    I cannot use the emotions tab in the latest Hotmail. Nothing appears. It works fine with IE. Is there a fix?

    Works fine here on Linux. Make sure that you do not block [[JavaScript]].
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

Maybe you are looking for

  • Problem with Applets in same page

    Hai to all, I am having a problem with GUI in applets My first class extends a JPanel named A_a import javax.swing .*; import java.awt.*; import java.awt.event.*; public class A_a extends JPanel JButton jb; JTextArea text; public A_a() setLayout(new

  • HELP! multiple ipods one itunes??

    we have three kids who each have an ipod. can you have multiple ipods on one account or itunes program? ipod 4gen. 20gb,ipod nano 2g(x2)    

  • Unable to kill locks in table

    Hi, I have identified a lock on a table and have killed the id holding the lock alter system kill session '119,63799' .SID OBJNAME PROGRAM LOCKTIME SPID PROCESS Mo EVENT STATUS 119 CA850MB sqlplus@ipborbp 02:06:48:24 8067 8066 3 SQL*Net br KILLED But

  • Help M4868 21" Apple Studio Display software needed

    Hi all. I know this post is a little out of category but I need to find out where I can get a Manual and any software required to use an M4868 21" Apple Studio Display with my G5 Powermac. Can anyone help me on this one please... Cheers. Derek.

  • Is there a way to Rate TVshows like GP-R- etc in iTunes so...

    My son cannot see any TV show I have listed that I don't feel is for him? I know you can do this in Movies but what about a TV show in iTunes? Thank you for looking. Tom