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

LazyInitializationException with SWF+JPA+JSF 2.0

    XMLWordPrintable

    Details

      Description

      OpenSessionInView filters nor interceptors doesn't work correctly with lazy collections in swf jsf 2 environment.

      Try to create lazy reference to any entity in booking-faces and try to envoke it from xhtml page:
      #

      {controller.entity.lazyEntity}

      you will get hibernate LazyInitializationException.

        Attachments

          Activity

            People

            Assignee:
            rstoya05-aop Rossen Stoyanchev
            Reporter:
            aareshchanka Areshchanka Aliaksandr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 1d
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified