What to write in update button?

Hi,
I m creating a screen to modify data. I m able to query on my screen and able to modify one of the value (e.g name), I have created a button to save changes
<h:commandButton value="Save Changes" actionListener="#{myBean.update}"/>
but dont know what to write in myBean.update method?
plz help.
I m using NetBeans5.5 with Tomcat5.5.17.

GOD!!! this means updation process is dependent on
JDBC, HIBERNATE etc??It is just dependent on the data access layer you're using .. Nothing more or less. There are hundreds ways to access your database. As long as we know nothing about your DAL solution, we cannot give you a suitable answer.
OK, it's Hibernate. That's easy: Session#save(). The same way as you've invoked Sesion#load() to query the objects from the database.
Pease read the Hibernate Reference Documentation, it is very descriptive.

Similar Messages

  • HT4623 What if the "software update" button isn't there?

    Does anyone know what to do if the "Software Update" button isn't there? I probably sound really lame, but I want to update to the iOS 5.0 for the iPad 1.

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.0.1. For the iPad Mini the iOS is 6.0.2. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • Whats the check for updates button called in the spanish version of firefox?

    in 3.6.11 and Firefox 4 beta 6

    Such a download is usually saved in an updates or updated folder in the Firefox program/application folder.
    You can delete this folder to cancel the download.
    If files already have been downloaded then remove the files in the updates and updates\0 folder.
    *http://kb.mozillazine.org/Updates_reported_when_running_newest_version
    *http://kb.mozillazine.org/Software_Update
    Mac: /Applications/Firefox.app/updates "/path_to/Firefox.app/Updated.app"
    Linux: "/path_to/firefox/updated"
    Windows: C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates

  • HT4623 I have an iPod with iOS 4.2.1 and would like to up date version 5. The pc I normally sync with has XP operating system. So I can't up date to iTunes 10. And my iPod doesn't show the software update button shown in the article. What can I do?

    I have an iPod with iOS 4.2.1 and would like to up date to version 5. The pc I normally sync with has XP operating system. So I can't up date to iTunes 10. And my iPod doesn't show the software update button shown in the article. What can I do?

    You cannot update it if you can't get the latest version of iTunes. Actually, the latest version of iTunes will run in XP if you have Service Pack 2. Also, you posted in the iPad forum, and your profile shows you have an iPad, but in your post, you say it is an iPod. Is it an iPad or an iPod?

  • HT4623 I am trying to update my iPad 4 to iOS 5.1 but there is no software update button under General. What should I do?

    I am trying to update my iPad 4 to iOS 5.1 but there is no software update button under General. What should I do?

    Follow the instructions under 'Update your device using iTunes' in that article.
    (69067)

  • HT4623 If i go to general and look for the software update button, there is not one on my ipad2. What do i do then?

    If i go to general and look for the software update button, there is not one on my ipad2. What do i do then?

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.0.1. For the iPad Mini the iOS is 6.0.2. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • What mechanism Oracle 10g use for write (Insert/ Update) and Read (Select)?

    Hi
    What mechanism Oracle 10g use for write (Insert/ Update) and Read (Select)?
    Thank you

    Aren't the answers given in PL/SQL forum sufficient enough?Well, as the first answer in that forum directed the OP to this forum you can hardly blame them for the repost.
    There is some high-level stuff in the Concepts Guide. If that is insufficient the OP will need to tell us what more details they need to know (and perhaps why).
    Cheers, APC

  • TA48312 i  have ip and need to download ios 5, my computer runs windows 6 and ip has no update button under general to just download updates what can i do?

    i have an i pad, plain not a ipad 2, it doen't have update button under general settings, how do i get ios 5.l.......download.  Then i go to i turnes and can't fine where to go for the download everyone directs me to in the i tunes store.

    You must upgrade to iOS 5 or greater to have such a feature.
    See the chart below to determine whether you can upgrade your device and what you can upgrade to.
    IPhone, iPod Touch, and iPad iOS Compatibility Chart
         Device                                       iOS Verson
    iPhone 1                                      iOS 3.1.3
    iPhone 3G                                   iOS 4.2.1
    iPhone 3GS                                 iOS 6.1
    iPhone 4                                      iOS 6.1
    iPhone 4S                                    iOS 6.1
    iPhone 5                                      iOS 6.1
    iPod Touch 1                               iOS 3.1.3
    iPod Touch 2                               iOS 4.2.1
    iPod Touch 3                               iOS 5.1.1
    iPod Touch 4                               iOS 6.1
    iPod Touch 5                               iOS 6.1
    iPad 1                                          iOS 5.1.1
    iPad 2                                          iOS 6.1
    iPad 3                                          iOS 6.1
    iPad 4                                          iOS 6.1
    iPad Mini                                     iOS 6.1
    Select the method most appropriate for your situation.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS to Version 6.0.x from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • What happened to the 'more' button on the bottom of the apps store? It seems to have been replaced by the 'updates' button. I want to get the 'more' button back.

    What happened to the 'more' button at the bottom of the apps store screen? It seems to have been replaced by the 'updates' button, and I want the 'more' button back.

    When using the back button I keep getting the drop down box when I do not want it. For me the hold down time before the box opens is far too short.
    I would be quite happy to always right click to get the drop down. Is there any way to disable this feature when using the left button or for making the delay longer?

  • HT4623 But my iPad does not have the software update button ....what do I do?

    I need to update my IPad . But it does not have " software update" button....any suggestions please????

    The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972

  • HT4623 After I went to Settings General there was no software update button, any suggestions as to what I should do?

    Has this happened to anyone else? The "Software Update" button was gone and I'm trying to update my software, is this common? Where could I find it? (
    My laptop isn't working well so I'm avoiding it)

    This feature is ONLY available when you are running ios 5 or later.
    You would need to update as always - open itunes, connect iphone

  • Update button code to reflect data into database table?

    Hi Everyone,
    I have search page and Update page. On clicking on update image of any row in Search page i am able to navigate to Update page with the parameters.
    Now after updating the values i need to click on Apply button then the data should be stored to table(database).
    What code should i write in Apply button?
    Do i need to initialize row? If yes what code and where should i write?
    thanks.

    Hi Kumar ,
    Row initialization not required , you have get the exact row in update page and in ProcessFromRequest of your controller class
    you can call the method which is defined in AM to Commit the updated values .
    Code :
    In PFR
    if(pageContext.getParameter("Upate") != null)
    am.invokeMethod("UpdatePacelineLayout");
    In AmImpl
    public void UpdatePacelineLayout()
    getTransaction().commit();
    throw new OAException("Record Updated Successfully", OAException.INFORMATION);
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I connected my iphone 4s that i unlocked for t-mobile. I plugged it into itunes, and it asked me to update to ios6. I accepted the download and update button. it told me it needed 8 hours. i closed my laptop. not shut down. i opened and it wants restorin?

    I connected my iphone 4s that I unlocked for t-mobile. I plugged it into itunes, and it asked me to update to ios6. I accepted the download and update button. It told me it needed 8 hours. I closed my laptop, not shut down. I re-opened the laptop a few hours later, and it wants restoring?? Whats going on?! i want my iphone back! PLEASE HELP. I'M LOST!!! (I synced my iphone to my computer if that helps at all).

    Yes, and, I try to restore. I have the T-Mobile sim card in it just to clarify. It will not let me get passed that, it does not accept the t-mobile sim card. i tried restoring it using wifi, cellular, and i cant get i tunes. I am scared that if i take the tmobile sim card out and put the at&t one in just to complete the restoration process that the iphone will lock again and not read the tmobile sim card, then all my hard work has gone for nothing. ( this whole process was caused by me trying wanting to empty my pictures onto my computer because i did not have any storage space left). <--- that may not be as important, but i included it just because.

  • Several months ago I kept getting prompted to "update" my iphoto library.  I finally gave in and clicked on the update button and EVER SINCE THEN,  ALL of my photos have been 'grayed out' and I can't see ANY of them unless I click on the photo and open it

    Several months ago,  I kept getting prompted to 'update' my iphoto library.  When I finally clicked on the 'update' button,  it 'greyed out' ALL of my photos.  Now ALL of my photos are grayed out and I can't see ANY of my pictures unless I click on each grayed out photo individually and open them,  ALL of the thumbnails are greyed out.  It is THE WORST!!  I have no idea how to fix this problem and its been MONTHS AND MONTHS of *** pain.  Anyone??  Please help!!!
    Thanks so much!!!

    Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - rebuild your iPhoto library database
    and please tell us what version of iPhoto and of the OS you have
    LN

  • ITunes 10.6.1 Update button for iOS update does not work (a bug)

    iTunes 10.6.1 Update button on iOS device Summary / Version page does not update devices. It only checks the iTunes version!
    With iTunes 10.6.1, connect an iPad, iPhone, iPod running pre-6 iOS version.
    On iPad Summary / Version page, next to  [Update] button the message says:
    "A newer version of the iPad software is available (version 6.0). To update your iPad with the latest software, click Update."
    However, clicking the [Update] button will not start update iPad. Instead it gives you a dialog saying:
    "This version of iTunes (10.6.1) is the current version".
    Obviously it should start updating the i-device there but instead just goes and check the iTunes version ?!?
    A Bug!
    What's really annoying in this bug is that it's the only way to update pre iOS 5.x devices, which is now impossible!
    Apple should get this fixed asap!
    Anyone found any workarounds?
    [Edit]: There seems to be another discussion of this issue already:
    https://discussions.apple.com/message/19671173#19671173

    Just forgot to add, yes, I know there's iTunes 10.7 but it's only available on Snow Leopard and higher.
    The machine in question is an old macbook, running Leopard (10.5.8), that it will propably never get upgraded.
    Since most  my older i-devices were initially synced with that particular machine, I'll be now stuck with iOS updates, without loosing content.

Maybe you are looking for

  • Macbook, iphone and iPad all off by 1 hour since time change

    How do I correct this?

  • My trackpad is not working in bootcamp 4.0 with windows 7

    I just purchased an iMac and upgraded to Lion.  I then created a bootcamp partician and installed Windows 7 Professional.  Everything went smoothly until the trackpad driver was installed.  It failed.  The trackpad will not work.  I have tried to add

  • Unable to format/partition hard drive

    So I've recently decided my previous three partitions, including a partition with windows on, are not needed so backed up the files and am trying to simply format the whole hard disk. It lets me format two of the old partitions, but not the one with

  • User Task in a BPEL Process

    I'm making an ASP .NET websites that calls to a BPEL Process. This BPEL Process receives an ID and make three calls to three web services that search this ID in three diferent databases containing data about books. The process selects the cheapest of

  • Provision for capacity alerts for Exchange 2010 servers on SCOM

    Hi All, This is one urgent requirement, please help.  We have around 25 exchange servers in our environment, we need to configure alerts to limit the threshold to 80-90% of mailbox. My requirement is to configure SCOM alerts for mailboxes hosted on d