The most stupid java.SQL.Error ever....can You handle this?

hello there...:) this is veeery strange error:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can not re-read row data for column 5.
and what next?
(in DB this column type is "text" and Java can not read it and convert to "String".
I've tried:
String zzz = (String) ResultSet.getObject("columnName");
and even
convert(varchar(2000),columnName) columnName)
in SQL and still having the same error)
does someone know what to do next?
I'll recieve any suggestions with big pleasure :)

This is one of the gotchas with JDBC. From the JavaDoc for ResultSet: "For maximum portability, result set columns within each row should be read in left-to-right order, and each column should be read only once."
With some drivers you can read the columns out of sequence and multiple times, others you can't.
The first time you hit this problem it drives you insane (I know it did me).

Similar Messages

  • TS3694 good evening i have an problem with my iphone 4 the wif and network cant on now if i tray is showing iTunes i tray to reload the ios is showing an error -1 can you help me

    good evening i have an problem with my iphone 4 the wif and network cant on now if i tray is showing iTunes i tray to reload the ios is showing an error -1 can you help me

    No problem, glad to help!
    Update: my PC USB hub was connected to a USB 3 port, I connected the 30 pin cable directly to my PC, And the restore worked just fine. Restored phone from iCloud backup and seems to be working fine.

  • I have no audio what so ever i have seen in one of the tables where it was deleted how can you fix this i tried everything i know

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    i have been trying to get the audio to play for 3 days now i did see where it had been deleted this is a used comp i haven't had it long can you fix this i'm at my wits end
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows NT 5.0
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-Default Plug-in
    *Adobe Acrobat Plug-In Version 5.10 for Netscape
    *Java(TM) Platform SE binary
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Network Object Plugin
    *Windows Multimedia Services DRM Store Plug-In
    *Npdsplay dll

    Hello Virginia.
    You may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?

  • TS3694 I am trying to restore my phone with the latest software on itunes which i updated today I have tried a few times it is an old 3g but in great conditon - the restore works to the pointi it is verifing the firmware then just say error 1015 can you p

    Hello I got an unlock code from rogers last night for an old 3g which i want to use
    i update my itunes software and tried to restore the phone but as soon as it gets to the firmware updage i get a messeage erroer 1015

    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743
    ERROR 1015...
    This Error Code is indicative of the Device being jailbroken / Hacked...
    Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.

  • In the properties window from a CWGraph you can set the style (bar, line, multicolor). How can you do this programmaticly?

    I can't find the style property in my object inspector(Delphi). With style, I want to set the graphic type. For example: simple, bar or multicolor. In the help from the CWGraph object I can not find anything about it. I have solved the problem now by exporting the desired graph and then import it if I create a new object Dynamicly. Does anyone have an answer?

    You set the style for each individual CWPlot, not the graph itself. Each plot can have its own style, the graph style sheet is just there for quick changes of common plot styles. You would change the LineStyle, PointStyle, Colors, etc of each plot to do this programmatically. For example, to pick a bar style for a plot you would:
    CWGraph1.Plots(1).LineStyle = cwLineStepXY
    CWGraph1.Plots(1).FillToBase = True
    CWGraph1.Plots(1).PointStyle = cwPointNone
    This would create a plot that steps and is filled to base with no points shown (bars). If you want to see how the graph styles change the plots, pick a graph style in the property pages, then look at the plot page and see how the plot properties changed.
    Best Regards,
    Chris Matthews
    Measurement Studio Suppo
    rt Manager

  • Error #1009 - the most stupid AS3 loader issue ever !!!

    Hi,
    (It's about AS3 / Flash CS4)
    As a developer I often have no controll what is the content of a movie being runtime-loaded. I must presume I have no control on it at all - movie clips are marketed and sold and the only thing expected is that they play nice. And they are supposed to be runtime-loaded by a simple "progress-bar" style loader.
    The loader movie itself is fine. Though it's not sort of these tricky "no timeline, document-class only" it used to do the job.
    The main code is as folllows:
    FRAME 2:
    var thisRequest:URLRequest = new URLRequest("movie.swf");
    var thisLoader:Loader = new Loader();
    var newContent:MovieClip;
    thisLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, doneLoading);
    function doneLoading(evt:Event):void{
        newContent = MovieClip(thisLoader.content);
            //stage.addChild(newContent); -- please notice I commented this line !!!
    FRAME 3:
    thisLoader.load(thisRequest);
    As you may see, it's nothing special - just regular loader stuff here...
    But the issue is that it throws errors just in case of some loaded SWFs.
    Another words - the content and structure of movie.swf impact the loader performance!
    Too often I notice this kind of error being thrown right after "thisLoader.load(thisRequest);" is execuded:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at movie_fla::MainTimeline/frame8()
    Right after - that means BEFORE adding loaded movie to the Stage childlist etc.
    I said - right after movie.swf is invoked by the "load" command !
    This is really rediculous!
    I do not expect this sort of behavior! I expect the loaded movie to be quiet unless explicitly added to stage with:
    stage.addChild(newContent);
    But in a contrary - it seems the loaded movie becomes somewhat active right after being loaded - even before being added to stage. And in some cases this prematured activity leads to hard-to-controll errors! Please notice the error is thrown despite line where loaded content is added to stage is commented!
    I said what I wanted to say - now dear Flash AS3 experts and mastahakas please - give me some advice what to do in this situation.
    I am really, really confused as I want to write clean, error-free code and I get run out of ideas how to deal with this nasty issue.
    Rgs,
    Ziggi

    Yeap,
    I found the solution:
    thisLoader.contentLoaderInfo.addEventListener(Event.INIT, initLoading);
    function initLoading(e:Event){
        newContent = MovieClip(thisLoader.content);
        newContent.stop();
    So, stopping the loaded movie in this handler do the job...
    Stupid anyway!

  • Moving LR catalog ( ie . ircat files )  and the real photographs to a new drive , can you do this in LR ? or seperatly and which do I do first ?

    I want to get everything off my hard drive and work in catalogs on an external drive but I need all my older photos moved too .

    You move your catalog file using your operating system. Move it to wherever you want it to be, and then double-click on it. Please understand that your catalog file ought to reside on your fastest disk; if you move it to an external drive you may notice slower performance.
    You move your photos via this procedure: Adobe Lightroom - Find moved or missing files and folders
    It doesn't matter what order you do it in
    You used the phrase "work in catalogs" (plural), may I recommend that you work with a single catalog, there are usually plenty of advantages to using a single catalog, and no real disadvantages

  • I have an ipod touch and the contacts icon is missing.  How can you add it to the home screen?

    I can't find the contacts icon... How can you add this to the home screen

    Every iPod touch has a contacts icon. It might be hiding. You can try Settings > General > Reset > Reset Home Screen Layout.

  • Can you do this with Siri?

    Hi everyone! I used to have an iphone 3gs so im new to Siri. My question is regarding siri commands:
    Things that i wish i could do but i cant :
    Enable Do not disturb
    Create an event with an alarm 30 min before the event hour
    Send a text using whatsapp
    There are more but this are the most important
    So.... Can you??
    Thanks!

    No
    No
    No
    As far as Whatsapp, I'm not sure that third party developers have the necessary APIs to incorporate Siri in their apps - maybe a developer could weigh in on that one.

  • I get an error message saying "The iTunes Library.itl file cannot be found or created" when I try to open iTunes on my computer and the program fails to open.   How can I fix this?

    When I try ot open iTunes on my computer I get an error message stating "The iTunes Library.itl file cannot be found or created" and the program fails to open.  How can I fix this issue?

    Hi pgarard1,
    If you are having issues with launching iTunes after an update, you may want to take a look at the troubleshooting in the following article:
    iTunes for Windows: Doesn't open after upgrading in Windows Vista or Windows 7
    http://support.apple.com/kb/TS2363
    Regards,
    - Brenden

  • Ive recently updated my mac to OS X 10.10 and now my CS5 illustrator and photoshop will not open...  I uploaded the most recent Java and they still won't open.  Please help

    Ive recently updated my mac to OS X 10.10 and now my CS5 illustrator and photoshop will not open...  I uploaded the most recent Java and they still won't open.  Please help

    Mac,
    Nothing shows up here?
    https://www.adobe.com/account/my-products-services.html#
    With CS5 you must have registered, hopefully under your present Adobe ID.
    I am afraid the chat and phone support are off until the beginning of January.
    Serial number and activation support (non-CC, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service1.html
    Adobe ID and registration support (non-CC, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service-c1.html
    http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html

  • Hello I Download Adobe Photoshop CC 2014 Last Night i INSTALLED it But it Crashes in 30-40 Sec After i Launch the Product Without Any Error Message I Need Help Can You Resolve This Problem i Tried Creative Cloud Sign Out Nd Sign iN But iT DidnT ReSolve My

    Hello I Download Adobe Photoshop CC 2014 Last Night
     i INSTALLED it But it Crashes in 30-40 Sec After i Launch the Product Without Any Error Message
    I Need Help Can You Resolve This Problem

    Lotfi are you receiving any error messages during the installation?  I would recommend reviewing your installation logs for errors.  Please see Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html for information on how to locate and interpret your installation log files.  You are welcome to post any specific errors you discover to this discussion.

  • TS3212 When I try to start Itunes, I get the message" program can't start because MSVCR80.dll is missing from your computer - try reinstalling the program".  When I try to reinstall I get the message Error 7 (Windows Error 126) - can you help me?

    When I try to start iTunes, I get the message "program can't start because MSVCR80.dll is missing from your computper.  Try reinstalling the program."  When I try reinstalling, I get the message Error 7 (Windows Error 126)
    Can you help me?????

    Hello Charleen,
    It sounds like you are unable to reinstall iTunes because of this error message 7. I recommend the troublehsooting found in the following article that mentions that error named:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    "iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows Error 126)”
    Follow these steps to resolve the issue:
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • What  are the advantages over sql in pl/sql...can you please answer this?

    Hi,
    what are the main differences between sql and pl/sql...why v are using pl/sql rather then sql...can you please answer this question?

    SQL is used to access the database. PL/SQL is a programming language where SQL is seamlessly integrated. In order to access the database in PL/SQL, you have to use SQL.
    Think of it as two pieces of software, two "engines". If you want to interact with the database, then performance wise it's best to use only one engine (SQL only), instead of two (PL/SQL and SQL). If a PL/SQL program executes a SQL statement, it does a "context switch", i.e. saving its state in PL/SQL before giving control to the SQL engine and vice versa. This is quite fast, but do a lot of them and it is slow, so beware of programming SQL statements inside loops.
    Another way to put it: SQL is a fourth generation language (4GL) where you tell what you want, not how. The software, the optimizer, will decide for you how to process the statement. PL/SQL is a third generation language (3GL), or at least the PL-part is, where you describe how things should be processed. Leading to more code and more control. With every Oracle release, SQL becomes more powerful and the optimizer gets better, so using SQL is increasingly important.
    For complex processing, using PL/SQL is still necessary. But use it with care.
    Hope this helps.
    Regards,
    Rob.

  • HT201210 I'm trying to restore my iPhone, but get an error message 'the iPhone cannot be restored, the device cannot be found.  How can I resolve this?

    I'm trying to restore my iPhone, but get an error message 'the iPhone cannot be restored, the device cannot be found.  How can I resolve this?

    iOS: Unable to update or restore

Maybe you are looking for