Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-304

Mapping low level exceptions in core

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.2.0-M1
    • core
    • None

    Description

      Actually service layer processes three relative low level exceptions from persistence:

      org.apache.ibatis.exceptions.PersistenceException;
      org.springframework.orm.jpa.JpaSystemException;
      javax.persistence.PersistenceException

      Suggestion: abstract service implementation from persistence a little bit more and wrap these three exceptions in high level Syncope PersistenceException.
      From my perspective it helps for the cases when Syncope will support alternative persistence technologies like Hibernate JPA, EclipseLink JPA or even LDAP, JCR, non-SQL DBs.

      https://cwiki.apache.org/confluence/display/SYNCOPE/Remote+Exceptions

      Attachments

        Activity

          People

            Unassigned Unassigned
            ashakirin Andrei Shakirin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: