Andrus Adamchik created CAY-2974:
------------------------------------

             Summary: CayenneSqlException
                 Key: CAY-2974
                 URL: https://issues.apache.org/jira/browse/CAY-2974
             Project: Cayenne
          Issue Type: Task
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             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