Andrei Shakirin created SYNCOPE-304:
---------------------------------------

             Summary: Mapping low level exceptions in core
                 Key: SYNCOPE-304
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-304
             Project: Syncope
          Issue Type: Improvement
          Components: core
            Reporter: Andrei Shakirin
             Fix For: 1.2.0


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to