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

Mapping low level exceptions in core

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.2.0-M1
    • Component/s: core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: