DB Update Problem

Hi guys,
I'm new to Sun JSC but in fact it was easy to create a db connection.In my app. there is a datatable which contains textfield in 2 columns and a checkbox in one. I try to update db with the values entered to these.I'm using MS SQL db and here is the code that tries to perform update process,the button action function:
public String button1_action() throws java.sql.SQLException {
        while (musteriRowSet.next()) {
           try {
                 int curRow = musteriRowSet.getRow();
                 if (curRow > 0) {
                 musteriRowSet.updateBoolean("EkHesapTahsis", musteriRowSet.getBoolean("EkHesapTahsis"));
                 musteriRowSet.updateInt("EkHesapLimiti", musteriRowSet.getInt("EkHesapLimiti"));
                 musteriRowSet.updateInt("OdemeGunu", musteriRowSet.getInt("OdemeGunu"));
    } catch (java.sql.SQLException ex) {
        throw new FacesException(ex);
    } catch (Exception e) {
        throw new FacesException(e);
        return null;
    }This code just updates the rowset (i guess) not db. My rowset properties were changed: autocommit,concurrency and holdability...As a result i just wanna learn where is my fault and how can i update my db? Thanks a lot.

I believe you are using Creator 1 U9
Did you take a look at this tutorial
- Winston

Similar Messages

  • Update problem - VBDATA table

    Dear All,
    We have update problems in our Quality systems, and also in every R/3 system that we create from a Production system copy.
    Sometime the UPD and UP2 work processes hung without apparent reason.
    In the SM50 I can see one or more of my update processes running for a lot of time (many hours) on the table VBDATA without perform any action.
    In the tcode SM12 I donu2019t see any kind of lock, and I donu2019t understand why only sometime this problem happens.
    Of course, from the SM13 I can see that during this problem the system is not able to perform any kind of update.
    As I told in the beginning of the message, I have the same problem in other two R/3 systems, both created with a system copy from the production system.
    The Production and the Developer systems seem not affected by this problem.
    Have you got any idea about the reason of the problem?
    Even if the Production systems is not directly affected, all the IT department is not able to work on the Quality system (or any other Test system), and the only workaround is to kill the UPD (or UP2) WPs affected.
    Thanks in advance,
    Federico Biavati
    My R/3 System is a 4.7 on SLES9 and Oracle

    Hello Siva,
    This is what I did:
    > Check how many entries do you have in VBDATA currently.
    More than 1.000 in every SAP systems that Iu2019m creating from Production
    > You might want to run the reorganize updates program to clear the old updates
    > that are pending/in error
    Good point!!
    After the reorganization (ST14 u2013 Reorganize update requests) the table VBDATA is empty.
    Iu2019ll check and Iu2019ll let you know if the problem is definitively solved.
    Thanks for you help,

  • Chart x scale update problem

    LabVIEW  8.5.1
    Sweep Chart Problem
    The x scale values do not update until after the 2nd sweep.  The red line cursor gets to the end of the sweep and starts the next, but the scale numbers do not update until the next sweep starts.
    It appears to be a problem with the chart, since it happens with any vi with a sweep chart.  I've used versions 6 through 7 for years and never seen this.  I've only recently moved to a new job with a new machine and version 8.5.1., so I'm not sure what to try.
    I've included a simple example.
    Thanks much,
    Chart Sweep Scale Update Problem.vi ‏32 KB

    You have a typical race condition!
    There is no data dependency between the property node and the while loop, so in your case the loop starts executing first and the property node starts slightly later, immediately erasing the first point. Execution order is not defined.
    All you need to do is add a data dependency, e.g. as with the error cluster in the image. This forces the property node to complete before the loop is allowed to start.
    (Execution order is enforced even if the wire value is not even used inside the loop )
    Try it!
    Message Edited by altenbach on 12-23-2008 11:08 PM
    LabVIEW Champion . Do more with less code and in less time .
    HistoryRace.png ‏10 KB

  • Updating problem...I have a update that starts out going through but then does not finish just keep running

    also with the update problem it says software update and below the running bar it says connecting to the server

    Please do the following:<br><br>
    #Go to [http://www.mozilla.com/en-US/firefox/fx/?ref=logo Download Firefox 4.0.1] and download a fresh installation file to the desktop.<br><br>
    #Then go to Add/Remove Programs, scroll down to "Mozilla Firefox" and remove it, choosing to keep your bookmarks, customizations etc., (''don't checkmark the box'').<br><br>
    #Then reboot and delete the folder called "Mozilla Firefox" at this location: C:\Program Files\Mozilla Firefox<br><br>
    #Finally run the installation file you downloaded to the desktop earlier.<br>
    Your bookmarks, customizations etc., are maintained in a different location and will become available to you again once you complete the installation.

  • 10.5.7 update problems

    After installing the 10.5.7 update, Mail, iTunes and iPhoto will not run anymore. Anyone else having this problem?

    jjtopspin wrote:
    Before I came to these apple discussions re: update problems with 10.5.7, I tried to update this version yesterday and at the end of the download this message came up, the update "Mac OS X update" can't be saved. The digital signature for this package is incorrect. The package may have been tampered with or corrupted since being signed to Apple.
    I got the same message. The downloaded file that generated the message was only about 560 KB, indicating it was an incomplete download. I moved it to the trash & tried again. The second download attempt succeeded. I had a minor if nerve-wracking issue with the update (the blue looping screen reported in another topic in this forum) but after a forced shutdown & restart the update was completed successfully.
    I have since updated my two other Macs so all those listed in my profile are now running 10.5.7. All do so without any problems & in fact work better & more stably than ever before.
    I doubt that I'm unusual in this respect. Some users will have problems but I believe most won't, & for those that do most problems will turn out to be caused by something other than the update itself. So it has been for every previous Leopard update; I see no reason to think this one will be any different.

  • Cache update problem in Integration Directory

    Hi all,
    We have a cache update problem in our PI development server.
    If we try to edit, save and activate any of the ID objects, under Cache notifications>Central Adapter Engine> all these objects are displayed as gray items.
    We have tried:
    1. Clearing the SLD Data Cache.
    2. Did SXI_CACHE complete refresh.
    3. Did CPA cache refresh.
    4. Did a complete cache refresh of the server.
    5. Restarted the server.
    But still the problem has not bee resolved. Could you pls provide your inputs and resolution points.
    Thank you very much.
    Jack Nuson

    HI Jack ,
    first try to manually update the cache from ID select on your cache notifiaction and click on delta cache refresh button and refresh button .IF it does not yied any result then
    Perform a full cache refresh using the URL
    http://<host>:<port>/CPACache/refresh?mode=full . If the cache refresh happens properly then your problem will get resolved other wise you have to see the cache log to view why it failed there it will show you the exact reason . You might need to restart your java server also if the problem persist .

  • Twitter Update Problem

    Seems I have a Twitter Update problem. 1. I have no pirated software on my computer either from the App Store or anywhere else. 2. I did buy a set off templates for iWork through the App Store with my Bosses Apple ID (it's for work). Is that really the problem. That's ridiculous.  The apple ID is mine, as is much of the software, but it's a computer use for work. If this is true it makes the App Store a lot less useful.

    my apologies I was so annoyed. I didn't bother to state my issue. The issue is: Twitter is constantly asking to be updated. Even after it's updated. Even if it's deleted. I looked at the forums for a solution and found that people were having this problem who installed pirated app store apps.
    I am logged into the app store on my account. All but one of the apps on my machine that come from the app store are on my account. However there is one piece of software on my account that I purchased, by logging out and logging in with her ID, purchasing it, installing and logging out, and again logging in as myself. I don't have an issue with that app. However Twitter, which was installed under my username, constantly says it needs to be updated. Hope that makes it clearer.

  • HT4623 Update problem

    How do i solve problem when i'am doing my update from 5.1 to 6.1.2 the massage (3194) occured. Please help me to solve this update problem.
    I'am using iphone 4

    See this support document http://support.apple.com/kb/ts4451

  • TS3694 im trying to restore my iphone and itunes doesnt allow it to restore without updating. problem is that i have the latest update on my iphone so why is it forcing me to wait for a 7hr update download when i already have the update and only need to r

    im trying to restore my iphone and itunes doesnt allow it to restore without updating. problem is that i have the latest update on my iphone so why is it forcing me to wait for a 7hr update download when i already have the update and only need to restore?

    Sadly, the iPhone 3G can not be upgraded beyond iOS 4.2.1.

  • Im trying to update, but all it does is backup my phone, My itunes is updated, BTW, I just went to Apple bar, i had previous problem with prior phone, now im having this update  problem with thyis new phone, someone HELP!!

    Im trying to update, but all it does is backup my phone, My itunes is updated, BTW, I just went to Apple bar, i had previous problem with prior phone, now im having this update  problem with thyis new phone, someone HELP!!

    Same here and this is driving me crazy. I can buy, but can't upgrade. Grrr.

  • Jelly Bean Update Problems on Xperia S Tablet

    I think we need a new topic for Jelly Bean update problems and fixes.
    Go to Solution.

    small fonts and icons blurry pixelated in notification or google agenda widget
    browser crashes a lot.
    Missing jelly bean home launcher
    Wifi disconnecting for no reason.
    Animations aren't smooth tough tablet is more responsive then android 4.0.3 release6b

  • Updater problem. AGAIN!

    Hi, I am officially annoyed and angry at the iPod Updater 2006-01-10! For the 7th time, my iPod won't update. This is what I have done.
    I installed the latest version of iTunes and connected my ipod. Then a notice came up saying that the software used for communicating with the iPod isn't correct. Please reinstall iTunes. I have done this over and over again and still I get the message! I need help!

    Just a question but : do you really need to update your iPod ? Did it run very well with the previous version ? I don't really understand why you have your update problem due to the fact that I'm not a PC user… I hope a PC user will help you, but, many of iPod users don't update because they don't need to… They said that theirs run well with old versions, and the iPod ain't broken… I have a 1.3 version (after updating to the 1.4, then 1.4.1 and having a iPod problem… But now it solved)… and I am quite happy with…

  • Installation Problems, Permissions Problems, SW Update Problems, Solved

    I'm posting here to relate some problems I've had and how I ultimately solved them, in the hope that it might help somebody.
    The following relates to OS 10.5.4 on an imac PPC 1.8.
    It started (at least the first symptom I noticed was) with Super Duper not working to auto-clone my drive, because the first thing SD does before running a clone job is to repair permissions on the subject drive. The repair permissions task failed with "the underlying task failed" error.
    So I tried the manually repair permissions from Disk Utility and got the same "the underlying task failed" error. It's a bit alarming not to be able to repair permissions. I tried a reboot, no change. This persisted for at least a week as I didn't have time to aggressively go after it.
    Then I purchased DiskWarrior (again - owned it years ago in Sys 9 days), as in my experience that was the "if all else fails" fix for everything directory-related. I booted from another blessed drive (do people still say that anymore? lol, showing my age) and ran DW on the drive in question. Sure enough DW found and fixed about 150 problems. Great I think, reboot from the original drive, run Disk Utility, repair permissions...nope! Same error. What now? I checked the console installer log for more and all the errors looked like "failure to write" permission type errors. Grr.
    Verify Disk ran OK. I checked the SMART status and it was OK, as I was by now worrying about the physical drive.
    Then along comes the 10.5.5 incremental update in Software Update and I get the following error: "The Installer could not install some files in "/" check permissions". Doh! Same thing with the Java update. Since I can't repair permissions I'm stuck.
    So now I have only one course of action (well maybe there were others, but this is what I did) which was to do an Archive and Install. My OS X DVD is 10.5.0 so that is what I got of course when I reinstalled.
    Running Disk Utility after the A&I allowed me to repair permissions successfully. Some progress. But now I had a slew of updates to get back to the present version of everything. Most installed successfully, except the 10.5.5 combo update. For that I got "package contents could not be validated". Rats.
    So I decided (after reading here about SW update problems especially with combos) to manually download the 10.5.5 combo. For some reason running SW Update under 10.5.0 gave me download rates of 32kb/s, where I am used to 1.1MB/s. Projected download time 3 hrs....no way! So I booted back to my 10.5.4 clone and downloaded the 612MB at normal speed there. I downloaded the 10.5.1 incremental as well just in case.
    Finally I was able to run the 10.5.5 combo (manually downloaded) successfully. Check Disk Utility and repair permissions...all good. Run SW Update and get the Java update, all good.
    Deep breath. Phew.
    So there you have it. I was able to fix it all. I probably didn't need to buy DW (but it's so great I'm ok with that) as I conclude now that the A&I ultimately was the real fix. It was a very frustrating experience though, especially with SW update giving me a bad download.
    I'm hoping that this post might now show up in searches and help somebody out there.

    WonderWoofy wrote:
    I don't think you have either of those kernels... as they don't exist.  I assume you meant that you are using 3.10.5 and supposedly have 3.10.6 installed.  You issue is a bit of a catch 22, as you are unable to mount the ESP (no vfat module matching your running kernel), yet mounting the ESP would be required in order to properly udpate.  I imagine that you actually have the correct kernel as /boot/vmlinuz-linux.  But whatever mechanism you use to copy it from that location to the ESP didn't work.
    You are going to have to boot from live media, and fix this from a chroot.  Please search around for how to do this, as this information is all over the place.
    Looks like I'm in for a treat. I chroot-ed, did a full upgrade in case there was an even newer kernel (and there was, 3.10.7). After the upgrade I copied /boot/vmlinuz-linux, /boot/initramfs-linux.img and /boot/initramfs-linux-fallback.img to /boot/efi/EFI/arch/ renaming the files vmlinuz-arch.efi, initramfs-arch.img, initramfs-arch-fallback.img respectively. I unmounted everything and rebooted. Now reFINd freezes as soon as it tries to boot Arch.

  • Demonstrating lost update problem

    I would like to know if it's possible to demonstrate the 'lost update' problem in oracle without using simulation. If so how would I go about doing this? I assume I will need to establish multiple sessions within a single transaction in order to have independent transactions to demonstrate this properly.

    The type of behaviour that leads to a lost update can be demonstrated with something like this.
    In session 1 run a pl/sql block like:
       FOR r IN (SELECT * FROM t ) LOOP
          IF r.id = 5 THEN
             DBMS_OUTPUT.Put_Line ('ID is '||r.id||' and descr is '||r.descr);
             UPDATE t SET descr = 'SLEEPY' WHERE id = r.id;
          END IF;
       END LOOP;
    END;The Sleep simulates user thinking time, or perhaps some delay in the proce for complex calculations and lookups.
    While session 1 is busy, in session 2 do
    SQL2> UPDATE t SET descr = 'AWAKE' WHERE id = 5;
    1 row updated.
    Commit complete.
    SQL2> SELECT * FROM t WHERE id = 5;
            ID DESCR
             5 AWAKEThen, when the block in session 1 is finished, you will see:
    ID is 5 and descr is ALL_CATALOG
    PL/SQL procedure successfully completed.
    Then do
    SQL1> SELECT * FROM t WHERE id = 5;
            ID DESCR
             5 SLEEPYThe update by session2 was lost.
    There are two ways to handle the situation. First, define the cursor as FOR UPDATE. In this case, session 2 would receive an error. The other way, optimistic locking, is to use something like the following as an update statement in the pl/sql block:
    UPDATE t SET descr = 'SLEEPY'
    WHERE id = r.id and
          descr = r.descr;Then check for the success of the update.

  • Firmware update problem solved after Win XP SP3 -upd

    I'm one of the numerous victims of ZEN firmware updating problem. At the start I had Win XP SP2 and WMP. My player is ZEN Micro 5gb and after trying to update firmware it had firmware problem and stayed in the recovery mode. Firmware updater and ZEN Media Explorer couldn't recognize the player. So that's how I got it work again:
    1. Rolled back WMP to WMP9, updated it to WMP0.
    2. Removed ZEN Media Explorer and Jukebox driver (all Creative stuff) from Add/Remove programs in Control Panel.
    It didn't solve the problem. I also tried my player with couple of other computers, but it didn't help either.
    3. Installed Win XP SP3 -update.
    4. Reinstalled driver for ZEN Micro in Control Panel.
    5. Ran the firmware updater and this time it did recognize the player.
    (6. Updated WMP back to version and the player's still working.)
    Hope this will help you too.

    I can start the upgrading process, but at around 95% it stops, and says "firmware upgrade failed." I didn't uninstall WMP though, because I have Vista, and I hae no idea how to do it. I can only get my computer to recognize my 6G Zen when I go into recovery mode and choose 'reload firmware' then I connect it to the computer and I can start trying to upgrade it. If I dont go into recovery mode, its just a blank screen, the computer doesnt recognize it, and I can't even turn it off without reseting.
    ?I've tried so much, now when I try to upgrade, it loads a little bit and jumos to the end quckly and says "firmware upgrade fails" and nothing works. Do I have to try to do all the things you listed to fix this?

  • My volume on the Iphone 3GS is very low is it an equipment problem, setting problem or update problem?

    My volume on the iPhone 3GS is very low. Is it an equipment problem, settings problem or update problem? And, is there a fix other than having Apple fix it?

    Have you had a look here to make sure it is set up how you want it...
    iPhone User Guide

Maybe you are looking for

  • Problems Printing Ricoh Aficio 1045 via IPP (Error with Exclamation Mark)

    Two of our offices use Ricoh Aficio 1045 and I'm having difficulty printing to either printer via my MacBook (Op System: Mac OSX 10.4.10). I've tried using IPP and have downloaded the proper drivers, but when I press print, a printer icon appears on

  • OBIEE presentation services not starting

    HI, i downloaded samplesales OBIEE bp2 virtual box image but presentation services are not starting ..giving 5 errors as follows #SEARCH_CRITERIA #     START_TIME: 2012-10-16T23:06:55.391+03:00 #     END_TIME: 2012-10-16T23:11:55.391+03:00 #

  • How to migrate the discoverer reports using the PPM tool

    Hi, Did Any One Migrate the Discoverer Reports Using The PPM (Kintana Tool) From One Oracle Instance To The Other? Please Help Me If Any One Knows? Thanks, Ankit

  • Remote Test and Demo Systems

    Would like comments from prior users of Remote Test and Demo Systems (or DPA?) where you get remote access to an SAP maintained system for the purpose of testing your application's interfaces with SAP ERP and/or BW. - how do you obtain this access -

  • Error opening document beta2 in Beta3

    Hello friends, has been updated to Beta3 beta the Siena Project, which sounds good in principle, but ... I HAVE A MAJOR PROBLEM!  It turns out that when trying to open an application made with Beta2 gives an error when trying to open it: IS NOT OPEN