Prepared Statement error, someone plz help

strQuery = qryProvide.supplyNotReceivedQuery();
logObject.log("CompDataProvider","supplyNotReceivedRecords",strQuery, XMLMON_Constants.LOG_DEBUG);
stmtRestSchema = con.prepareStatement(strQuery);
stmtRestSchema.setString(1,loadingPoint.trim());
stmtRestSchema.setString(2,schemaName.trim());
stmtRestSchema.setInt(3, process);
stmtRestSchema.setString(4,strFromDt.trim());
rsRestSchema = stmtRestSchema.executeQuery();
if(rsRestSchema.next()){
     String proid = rsRestSchema.getString(XMLMON_Constants.MON_LOGS_PROCESS_ID);
     int refid = rsRestSchema.getInt(XMLMON_Constants.MON_LOGS_REFID);
} else {
     String strQry = qryProvide.supplyNotRecQuery();
     logObject.log("CompDataProvider","supplyNotReceivedRecords",strQry, XMLMON_Constants.LOG_DEBUG);
     stmtData = con.prepareStatement(strQry.toString());
     stmtData.clearParameters();
     stmtData.setString(1, loadingPoint.trim());
     stmtData.setString(2, schemaName.trim());
     stmtData.setInt(3, process);
     stmtData.setString(4,strFromDt.trim());
     /***************** Its Reaching here/
     rsData = stmtData.executeQuery(strQuery);
     /***************** Its failing here throwing exception not all variables bound/
     if(!( rsData.next() ) ){
     //     do something here
     } else{
          System.out.println("do nothing");
     rsData.close();
     stmtData.close();
rsRestSchema.close();
stmtRestSchema.close();
Can anyone help me in solving the error. i have found the error where and i m not able to find why. please i need help.

Could you print out the query, e.g. strQry, I
think the problem lies in the Query string.

Similar Messages

  • My ipod touch 2g is on black screen.when i connect it to my pc it is not recognizing it.then i opened i tunes and put the phone in dfu mode it says an ipod is detected but it cannot be restored error 1600.plz help me...

    my ipod touch 2g is on black screen.when i connect it to my pc it is not recognizing it.then i opened i tunes and put the phone in dfu mode it says an ipod is detected but it cannot be restored error 1600.plz help me...

    Error 1604
    This error is often related to USB timing. Try changing USB ports, using a different dock connector to USB cable, and other available USB troubleshooting steps (troubleshooting USB connections. If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
    If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
    Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode,put it into Recovery Mode.
    Restore and wait for the error.
    When prompted, click OK.
    Close and reopen iTunes while the device remains connected.
    The device should now be recognized in Recovery Mode again.
    Try to restore again.
    If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.
    Error 1600, 1601, 1602
    Follow the steps listed above for Error 1604. This error may also be resolved by disabling, deactivating, or uninstalling third-party security, antivirus, and firewall software. See steps in this article for details on troubleshooting security software.

  • HT1414 hello i can't restore my iPhone anyway not by computer or by the setting someone plz help meee

    im not able to restore my iphone by the setting cause it takes forever and i cant restore my iphone by the computer for some reason and i have not jailbroken it can someone plz help meeee

    Hello MohammedFawzi.  I understand you're trying to recover your notebook to factory conditions.  
    If you're unable to perform the recovery the normal way I suggest ordering a set of Recovery Discs directly from HP.  This will not only reinstall the operating system but will also recreate the partitions (including Recovery), install drivers, and most of the software.
    To order the discs you'll need to contact HP Support in your region.  You can visit HP Support Worldwide to locate your region's contact information.  
    I hope this is helpful.  Have an amazing week!  
    Please click the white star under my name to give me Kudos as a way to say "Thanks!"
    Click the "Accept as Solution" button if I resolve your issue.

  • Hi, someone please help me out... am Nelson and got an issue with my apple Qmaster... I got OSX maverix and on my system preferences the Apple Qmaster dosent load but only gives an error, someone please help.

    hi, someone please help me out... am Nelson and got an issue with my apple Qmaster... I got OSX maverix and on my system preferences the Apple Qmaster dosent load but only gives an error, someone please help.

    the error is like "Could not load Apple Qmaster preference pane"
    if there is a way around it please help me coz I cannot render my video projects on Compressor anymore...

  • Hello. I have problem here can someone plz help. I have usb of 32 gb but i have problem with it while i was trying to partition of it and it fails and my usb disappear from finder and desktop i have tried every possible thing but nothing  works .

    Hello. I have problem here can someone plz help. I have usb of 32 gb but i have problem with it while i was trying to partition of it and it fails and my usb disappear from finder and desktop i have tried every possible thing but nothing  works .

    Yea i tried in disk utility and its got faiiled and the partitation has deleted and when i tried  to replug the  usb  msg show up by saying  usb not compaitnle. With this mac  and  take me to disk utility  and thanks for replying

  • Someone plz help!!!!!  I have no idea what i am doing when using my ipod

    ok, i have just purchased my iPod video and Quicktime Pro. I have downloaded some videos from lime wire pro, and i have them all in my video file. When i export the videos through quicktime pro, it leaves an icon of the video on my desktop. But when i try to play the video again, using quicktime, it wont play it. I have a couple of trailers and the sample video from the quicktime website on my video ipod and they all work, but i cant get any other videos to play before or after i have them on my ipod.
    Can someone plz help me out, i am starting to get anoyed!!!

    you may want to start by going thru the tutorials for both the ipod and itunes:
    http://www.apple.com/support/ipod/tutorial/
    http://www.apple.com/support/itunes/tutorial/index.html

  • My ipad is stuck at logo and looping countinuesly. when i tried to restore it is giving error 3194.plz help

    I am having ipad mini wifi + cellular. and now it is stuck at logo and restarting countinuesly. when i tried restoring it through itunes it is giving error 3194.plz help me
    GIREESH KUMAR

    See if the troubleshooting for that error code on this page helps : http://support.apple.com/kb/ts4451

  • I keep the itunes encountered a problem and needs to shut down . it was working fine until after i updated to 10.5 can someone plz help

    i keep the itunes encountered a problem and needs to shut down . it was working fine until after i updated to 10.5 can someone plz help

    I did get a "server busy" message when I loaded quicktime, but I'm not sure if it is related or not since I've been seeing that over the last couple of days, I can't remember if it came before iTunes stopped working or not. That message reads "This action cannot be completed because the other program is busy. Choose 'switch to' to activate the busy program and correct the problem." My options then are to choose switch to or retry. When I press "switch to" my Start menu opens, and nothing appears to happen when I select retry.
    that's an odd sort of a message (or series of messages).
    hmmmmm. let's try an experiment aimed at working out if there's a program interfering with the QuickTime (which is in turn causing grief with your iTunes).
    try a selective startup using MSCONFIG, with just the itunes and QuickTime background processes enabled, as per the following document:
    Using MSCONFIG to troubleshoot conflicts in Windows
    does QT open without the strange message after the selective startup?
    does iTunes launch properly?

  • When the iPhone 4 with IOS 5 is connected by cable to iTunes and check for update results in Error 1630. plz help me

    When the iPhone 4 with IOS 5 is  connected by cable to iTunes and check for update results in Error 1630, plz help me to update plz

    My Iphone 4 crashed yesterday after a restart and upload of OS 5.0, it will only partially sync.  It's not transferring any of my music or ringtones.  They still appear when I click open the sync screens on ITunes, but I don't seem to have an Ipod function and only one of my personalized ringtones transfers on the actual phone.

  • I am having problemes opening attachments from adobe reader.  I'm getting error 1606 (an internal error).  Plz HELP!

    I am having problems opening attachments from adobe reader.  I'm getting error 1606 (internal error).  PLZ HELP!

    <http://kb2.adobe.com/cps/402/kb402867.html> might help.

  • TS3694 I am having problem with my iphone 3g update, its showing 1015 error. someone please help me out. Thanks

    I am having problem with my iphone 3g update, its showing 1015 error. someone please help me out. Thanks

    nomibutt wrote:
    ... its showing 1015 error.
    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.
    You will need to look elsewhere.

  • For tha love of god someone plz help me!!!

    i went? and bought the most expensi've webcam i could find because i didn't wanna have any usual technology problems that come with getting cheap quality stuff. a friend reccomended creative webcams so i went to my local store and bought "creative live cam notebook pro" i tried to install the program onto my computer with the installation disc.AND BIG SURPRISE IT DOESN'T WORK!!! my comp doesn't even recognize the cd! so can someone plz help me! isn't there somewhere i can download the installation program for it's i tried tha creative site but its sooo confusing it didnt' really help me at all. plz someone plz help me

    acctually nvm i jus wanna knw how to take pictures with teh webcam

  • HT201413 My Iphone 3gs is showing error 28....when i try to restore it, it shows error 28 plz help.... :(

    Somebody plz help...

    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
    http://support.apple.com/kb/TS3694#error1015.

  • 500 internal server error..plz help

    hi,
    since i started working on oracle apps...this forum has proved itself alt helpful...
    i have performed a single node installation successfully over my laptop on win xp sp2 os.
    alt of error generated bt in da end i always found a solution here...
    guys like hsawwan are a great asset for this forum.....
    may GOD reward u guys fr da job u r doing by helping others....
    my recent problem has left me in a fix....
    problem:
    after a successful installation my system was working very fine ... i used the application and every thng seemed to work ok...
    bt thren i restarted my pc nd this chaos started ....
    first m receiving
    500 internal server error...
    thn a blank screen
    now again 500 internal server error...
    steps i performed
    1-restarted db listener
    2-Disabled Distributed JVM Cache by changing "LONG_RUNNING_JVM=" from "true" to "false" in the oc4j.properties.
    reference =metalink Doc ID: 761869.1
    plz help me get rid of this error.....
    m nt an xpert .m a newbie.. so if u xplain in plain simple word i'l b grateful....
    thanx thanx thanx in advance ....

    HI
    Sorry for late response ...
    actually i performed the installation of 12R ON MY LAPTOP...
    SORRY for posting it in 11I INSTALLATION issues...
    my problem was solved by this action plan...
    i am writing it here for some future reference ...
    open a new shell and set your apps environment
    then goto following directory -------->>> cd $ADMIN_SCRIPTS_HOME
    stop this service ---->>> adopmnctl.sh stop
    make a check if it is really down--------->>> ps -ef | grep <USER> grep opm (optional)
    delete the following:
    rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/* (optional but it would be better if u perform it)
    rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
    rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*
    again start the services ------>>> adopmnctl.sh start
    restart your machine ....
    this solution worked for my pc ...
    note ** solution may differ for different users ....
    thanks a lot helios and hsawwan for ur support .... :)

  • Okay every time i plug my ipod up to my laptop a message comes up and says one of the USB devices attached to this computer has malfunctioned, and Windows does not recognize it. Can someone plz help me ive done everything.

    I really need assistance/help with my ipod because it was working fine one day. Then the next day i decide to put more music on it then this message came up, and ive tried all the troubleshooting stuff and different links to help but still no success. But theres one thing i havent tried yet someone told me to buy another Apple charger and wall plug in to see if that works other than that i need help because i went to settings and erased everything off my ipod to see if that worked and it didnt so all my stuff is gone....Yeah i was ****** but plz help me!

    I would first try unplugging All the USB devices plugged into your computer, and then plug back in just the iPhone and see if that is recognized.  Also, do you have the latest version of iTunes for Windows installed on your PC, as you need to?
    Hope this helps

Maybe you are looking for