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

Paul Foxworthy closed OFBIZ-12837.
----------------------------------
    Resolution: Fixed

> Log SQL statement in exceptions in EntitySQLProcessor
> -----------------------------------------------------
>
>                 Key: OFBIZ-12837
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12837
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/entity
>    Affects Versions: 22.01
>            Reporter: Paul Foxworthy
>            Assignee: Paul Foxworthy
>            Priority: Minor
>         Attachments: 
> OFBIZ-12837_log_sql_statement_in_exceptions_in_EntitySQLProcessor-1.patch, 
> OFBIZ-12837_log_sql_statement_in_exceptions_in_EntitySQLProcessor.patch
>
>
> The combination of OFBIZ-11926 and OFBIZ-12386 means the field
>  
> {{SQLProcessor.sql}}
>  
> is never set, but it is assumed to be there in several catches - see the 
> patch.
>  
> If an exception occurs, you'll get a "null" and not the statement that caused 
> the exception.
>  
> I had a bit to say about how the problem arose in a comment on OFBIZ-11926.
>  
>  



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

Reply via email to