Chandan V.A created OLINGO-55:
---------------------------------

             Summary: Enable JPA Processor to throw detail errors
                 Key: OLINGO-55
                 URL: https://issues.apache.org/jira/browse/OLINGO-55
             Project: Olingo
          Issue Type: Sub-task
          Components: odata2-jpa
    Affects Versions: 1.1.0
            Reporter: Chandan V.A
            Assignee: Chandan V.A
             Fix For: 1.1.0


OData2 JPA Processor throws non detail error messages like 

"OData - JPA Runtime: JPA create request is not correct"

To know the real cause for such errors ODataErrorCallBack interface needs to be 
implemented by respective service factory implementation. To enable quick start 
to the service development and considering minimal coding to enable JPA models 
as OData services;  A default error call back implementation for OData2 JPA 
Processor library will be implemented. The call back can be registered by 
calling the protected method setDetailErrors(true). The method is part of 
ODataJPAServiceFactory class.





--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to