Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-744

selectedRow doesn't work for JPA-annotated class having superclass with @MappedSuperClass

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      http://forum.springframework.org/showthread.php?p=186129#post186129

      I'm confused that .selectedRow doesn't work for me (it returns an object of correct type but having NULL "id").

      So I modified the booking-faces sample to reflect my problem: I extracted superclass from class Booking and rebuild the war. Just as I expected, the sample application now no longer work (you can't "cancel" your bookings--will throw exception).

      Details: I moved property "id" and "smoking" from Booking to SuperBooking and make Booking extends SuperBooking. I attach the two files (zipped) in this post.

      Is this a bug in SWF or there are some "must-avoid" stuff?

        Attachments

          Activity

            People

            Assignee:
            jeremyg484 Jeremy Grelle
            Reporter:
            wiradikusuma Thomas Wiradikusuma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: