Uploaded image for project: 'Spring Data JPA'
  1. Spring Data JPA
  2. DATAJPA-80

Document activation of PersistenceExceptionTranslationBeanPostProcessor by namespace

    XMLWordPrintable

    Details

      Description

      As stated in the forum. I still dont know why Spring-Data JPA acts on @Repository Beans which are not defined in the <data:repositories...> scan path. This results in various error situations like integration with Struts2 spring pojos when you have Struts2 actions calsses annotated with @Repository. Of course its not 100% perfect to define them as @Repository beans but its not false either.

      Also you get situations like described in the forum entry. So please can you state why you proxy @Repository beans? Is this documented somewhere?

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            logemann Marc Logemann
            Last updater:
            Trevor Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: