com.atlassian.jira.ofbiz
Class OfBizLogHelper
java.lang.Object
com.atlassian.jira.ofbiz.OfBizLogHelper
public class OfBizLogHelper
- extends Object
Helper class to log the call stack of an Ofbiz SQL statement and format SQL statements.
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfBizLogHelper
public OfBizLogHelper()
formatSQL
public static String formatSQL(String sqlString,
List<String> parameterValues)
- Format the SQL string with the parameters provided
- Parameters:
sqlString
- Raw sql string with no parameters substituded inparameterValues
- List of parameters to substitute in
- Returns:
- SQL string with parameters in place.
logTheCallStack
public static String logTheCallStack()
- Returns a string with the call stack excluding filters and generic ofbiz statements.
- Returns:
- the call stack
Copyright © 2002-2012 Atlassian. All Rights Reserved.