Not comitting database after the update query in jdbc

Hi all,
This is the first time I am posting this. I have query excuting on racle DB. This is update query. after executing the i have called commint using con.commit(). But still it is not showing the modifications in oracle db.
What could be went wrong? Any sugestion, please let me know. I think it is simple jdbc program. So i don't think i need to post the code. Application running in Unix machine.
Regards & thanks,
Nirmala Vijaya Sekhar Varre

VijayTechM wrote:
Connection con = null;
Class.forName("oracle.jdbc.driver.OracleDriver");          
hi all,
// following is the code
con = DriverManager.getConnection("jdbc:oracle:thin:@10.129.239.43:1529:PBILLING","BILLING","BILLING");
boolean test = con.getAutoCommit(); //here I am getting 'true'
String invoice_header_query = "update invoice_header set file_traffico = '" + zipFileName + "' where bill_ref_no = '" + billRefNo_ + "' and bill_ref_resets = '" + billRefResets_ + "' and arbor_instance_id = '" + arborID_ + "'";
System.out.println("invoice_header_query---->"+invoice_header_query);
smt = con.createStatement();
int x = stmt.executeUpdate(query); // Here x = 1 printing so it is updating the one record
// con.commit(); // Even I have tried call this method. But this will be useful when you are using the Transactioon.
Could you please tell me what went write. I am using ojdbc14.jar.
regards,
VijayPost with code tags and where is your claimed exception handling?

Similar Messages

  • Ipod 5 flash not working right after the update

    Hi first off: my flash was perfect before the update so I think its not hardware?
    - after the update yesterday today my friend and I tried to take a selfie in a dark place so we wanted to use the back camera and turned the flash as ON for our surprise it didnt work.
    - we tried then to take something else's pic and the flash worked
    - we tried the selfie again this time using the camera buttom not the volume's but didnt work.
    - we used hipstamatic and VSCOCam then and it worked perfectly
    - I tried turning on and off the device and did not work.
    - I did a full restore through Itunes and didnt work.
    anybody else having this problem?
    any suggestion to fix it?

    I contacted apple and they claimed it to be an obvious software bug, they said I had to take it to an assistence to get a new one intantly but as theres no assistence in my town and I cant go to nearby one I will have to just replace the stock app for a better one... once more I'm disapointed with apple.

  • HT201272 İos upgrade before i bought 7 , fifa 14 has not been purchased after the update again as in-app purchase to buy intake is required.

    İos upgrade before i bought 7 , fifa 14 has not been purchased after the update again as in-app purchase to buy intake is required.

    İos upgrade before i bought 7 , fifa 14 has not been purchased after the update again as in-app purchase to buy intake is required.

  • My ipod touch is not getting recognised after the update in my itunes library. the library is updated. and it shows the connect to itunes sign.

    my ipod touch is not getting recognised after the update in my itunes library. i have updated my library as well. but it shows the connect to itunes sign on my ipod.

    If it happened after updating iTunes on the computer see:
    iOS: Device not recognized in iTunes for Windows
    or
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    If after updating the iOS on your iPod:
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Since I updated to firefox 3.6 I keep gettin multiple popup windows. This did not happen until after the update. The popups appear as regular windows so popup blockers can not stop them.

    Since I updated to firefox 3.6 I keep gettin multiple pop up windows. This did not happen until after the update. The pop ups appear as regular windows so pop up blockers can not stop them. Why has the new update made my laptop more vulnerable. updates are supposed to be improvements!
    == This happened ==
    Every time Firefox opened
    == as soon as I updated to ver 3.6

    Im having the same problem, I updated my Iphone 4S to 6.1.3, shortly after that my phone had no audio. It was working fine one minute and then stopped. Was listening to music when sound gave out on me. It wont ring, phone just vibrates even after turning off vibration option. I've tried all the options listed and nothing. My phone has never been jailbroken either. If I connect the earphones is works perfectly. On one of my last calls received, phone's ringtone was heard for about 2 seconds before muting and just vibrating. Ringtone sounded perfect, speakers did not sound damaged. 
    What else could be done? I've read several post regarding this and it seems like Apple has no solution to this yet. Very dissappointed.

  • SWR50 It does not turn on after the update

    Greetings
    After the last update with PC, when trying to turn on the device, showing boot-animation, but without success. I left on for a long time.
    Repeat the update, at the moment, it is not possible ("update is not required").
    Before this device is working properly, and updated via the PC correctly.
    Earlier and now to update device used Sony PC Companion 2.1.
    Thank you for your attention.

    @DooMeRocK
    What if you connect the SW3 to a wall charger > press and hold power for 15 seconds > let it charge for an hour. or use PCC or Bridge to repair it.
    PC Companion (PCC)
    Bridge (for Mac)
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Since upgrading to Firefox 4.0 Norton IS site logins no longer work, even though they are running, they do not auto load. Is FF not being recognised after the update ?? ??

    Normally when i open FF the Norton IS login manager kicks in automatically and completes all the various site logins.
    '''However '''since the update to FF4, even though Norton IS 2011 is running the login manager is not working, it's as if FF4 is not being recognised as my browser any longer.
    There must be a fix for this; if not i'll be forced to revert to the previous version of FF
    New'ish system i3, Win 7, MS Office, Norton IS 2011, Firefox 4.0

    You are almost correct in your assumption Norton needs updating to FF4
    You can get Firefox 3.6.16 here:
    http://www.mozilla.com/en-US/firefox/all-older.html
    http://support.mozilla.com/en-US/kb/Installing+a+previous+version+of+Firefox

  • Simply will not open anymore after the update. Running Maverick on a brand new iMac . . .Solutions?

    I've uninstalled . . . then went all the way back to iWork 08 . . . which opens just fine. Then downloaded/installed the update. It just won't open.

    I've uninstalled . . . then went all the way back to iWork 08 . . . which opens just fine. Then downloaded/installed the update. It just won't open.

  • My iPhone 4 will not sync music after the update, please help....

    After updating the new ios my iPhone will not sync any music.  My iPad is syncs fine its just my iPhone 4.

    This is almost embarassing. For some totally unexplainable reason all the songs in iTunes were unchecked. I was considering syncing the whole iTunes library to my iPnone, tut even with the 32 Gb version it would not hold it all. I restarted my MBP, and the message about the unchecked songs came up. It obviously is not enough to have songs checked for the iPhone. Thanks anyway.

  • I have updated my iPhone 4S with ios6 but my phone will not switch on after the update

    I have today updated my iPhone 4S with Ios6 but I can no longer switch the phone on, I have plugged it in just in case the battery had gone dead but this makes no difference . Is this due to the update

    hi i have the problem tried hard reset but no joy

  • Update query in JDBC adapter

    Hi guys help me with this
    1) What is the use of update query in jdbc adapter?
    2) Why do we use the flag field in jdbc table ?

    Hi,
    1) What is the use of update query in jdbc adapter?
    The purpose of the Update Query in JDBC is to change the status of the processed records in the table.
    That is when JDBC query is executed  it select the records from the table in the Database and it sends to the Receiver.
    After that it executes the Update query to change the status of the processed records in the Table.
    2) Why do we use the flag field in jdbc table ?
    Flag field in the table is used to identify which record is processed by Jdbc adapter. Initial stage it will have the status as 0 , if it is successfully processed then it will updated to 1.
    Based on this we can identify processed records which is done by update query.
    Regards
    Sridhar Goli

  • Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options.

    Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options. I was able to select the account under "parental controls", but again, could not delete it. Why Apple? Why?!!????

    SOLVED Ok. I actually was able to disable it. I had to actually log in as the guest user to make it accessible in the preference window. Then I disabled it and logged out. Apologies if this was obvious for some people, but I have had some sort of issue with something every update since Snow Leopard.

  • TS4268 After the update I am unable to log in to get iMessages. It says "Could not sign in. Please check your network connection and try again". My phone is connected to Wi-fi. What should I do?

    After the update I am unable to log in to get iMessages. It says "Could not sign in. Please check your network connection and try again". My phone is connected to Wi-fi. What should I do?

    Hi andrea110,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots.
    The settings are the same for iOS 7:
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/TS2755?viewlocale=en_US
    Cheers,
    - Judy

  • After the update to Android 5.0.1 my Galaxy Gear S will not install apps, I get an error message that says "Installation Failed. Try Later. (WO:WO:-1002)

    After the update to Android 5.0.1 on my Galaxy Note 4, my Galaxy Gear S will not install apps, I get an error message that says "Installation Failed. Try Later. (WO:WO:-1002). I am glad it was a free app I was trying to install (I tried a couple of different ones to see if it was just a bad app and they all failed on the install. The Note 4 and the Gear S seem to be communicating okay via bluetooth (health stuff syncs, Gear S controls the music player on the note 4 Etc. )

    Everything that I had installed previously on the gear S still works.
    Everthing while in the gear manager seems to be working okay also. I can make changes in the Gear manager on the note 4 and they show up on the gear S. I have an app called watch styler , it let me create a new watch on the Note 4 and that showed up on the Gear S.
    The only thing that seems to be not working is installing new apps.
    When trying to get a new app it looks like it is working as normal , the dowload shows it is working but it errors out when it goes to install it.
    REPLY SEPARATOR ***********

  • I have an Iphone 4 16gb and updated the IOS 6.1.2. after the update my 3G is not working at all??. can you please suggest what can be done to rectify this problem?

    i have an Iphone 4 16gb and updated the IOS 6.1.2. after the update my 3G is not working at all??. can you please suggest what can be done to rectify this problem?

    I have the same problem.  After updating to 6.1.2 my iPad 3,2 will not find Verizon network.  It just says "Searching..." for ever.  Any thoughts?

Maybe you are looking for