This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Primefaces Incell-row Editing Saves Old Values to Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Primefaces Incell-row Editing Saves Old Values to Database" Watch "Primefaces Incell-row Editing Saves Old Values to Database" New topic
Author

Primefaces Incell-row Editing Saves Old Values to Database

adam bilyone
Greenhorn

Joined: Aug 14, 2011
Posts: 16
Hi,
My rowEvent works fine and the new values are posted successfully to the my rowEvent listener which i retrieved the entity class as shown in the code below. However, when i update the entity class to the database, the to database indicate a successful transaction, but when i navigate back to another page and revisited the page containing the table, i discover the old values.
Tools &Technologies
  • Netbeans 7.3
  • JSF 2.0
  • Primefaces 3.4
  • JPA

  • <p>
    Below are my codes.
    </p>
    Thank you for your assistance.











     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Primefaces Incell-row Editing Saves Old Values to Database
     
    Similar Threads
    How to make a crud jsf with ebj without id filed?
    ManyToMany merge problem
    SEVERE: javax.faces.FacesException: java.lang.ClassCastException:
    How to Cascade update JPA ?
    How to submit two forms in jsf with Ajax or without Ajax?