[ 
https://issues.apache.org/jira/browse/OLINGO-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371023#comment-14371023
 ] 

Chandan V.A commented on OLINGO-599:
------------------------------------

Hi Sachin,
are you invoking the method setDetailErrors(boolean ) in your service factory 
with value "true". This setting in your service factory will not supress detail 
errors (this includes the JPQL statement or the JPA provider exception 
messages) and will show all errors thrown from the library.

Regards
Chandan

> Improvement in error messages.
> ------------------------------
>
>                 Key: OLINGO-599
>                 URL: https://issues.apache.org/jira/browse/OLINGO-599
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.2, V2 2.0.3
>         Environment: Olingo JPA used in Integration Gateway
>            Reporter: Sachin C
>             Fix For: V2 2.0.4
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Hi,
> This is regarding the error messages thrown from the Olingo JPA side when 
> there is a failure due a wrong payload or something like that. For now the 
> error messages are all of the form
> "OData JPA " METHOD "syntax is not correct.
> Where METHOD can be CREATE,DELETE,UPDATE etc. What we want is a more clear 
> error as to what went wrong such as "So and so constraint is violated " or 
> any statement which is more specific regarding the cause of the error.
> Thanks,
> Sachin



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to