[ 
https://issues.apache.org/jira/browse/CAY-2974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrus Adamchik closed CAY-2974.
--------------------------------
    Resolution: Fixed

> CayenneSqlException with a reference to translated query
> --------------------------------------------------------
>
>                 Key: CAY-2974
>                 URL: https://issues.apache.org/jira/browse/CAY-2974
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Major
>             Fix For: 5.0-M3
>
>
> To simplify error debugging (that we intentionally made harder per CAY-2912 
> by not logging executed SQL immediately), let's introduce 
> {{CayenneSqlException}} extending {{CayenneRuntimeException}} that will hold 
> a reference to 
> {{{}TranslatedStatement{}}}. This way, the offending SQL will be a part of 
> the exception error message, and would allow callers to analyze it in any 
> detail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to