Package org.copperengine.core.persistent
Class CommonSQLHelper
- java.lang.Object
-
- org.copperengine.core.persistent.CommonSQLHelper
-
public class CommonSQLHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommonSQLHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.util.List<org.copperengine.management.model.AuditTrailInfo>
processAuditResult(java.lang.String sql, java.util.List<java.lang.Object> params, java.sql.Connection con, boolean loadMessage)
Deprecated.static java.util.List<org.copperengine.management.model.AuditTrailInfo>
processAuditResult(java.lang.String sql, java.util.List<java.lang.Object> params, java.sql.Connection con, boolean loadMessage, boolean clobSupported)
static int
processCountResult(java.lang.StringBuilder sql, java.util.List<java.lang.Object> params, java.sql.Connection con)
static java.util.List<Workflow<?>>
processResult(java.lang.String sql, java.util.List<java.lang.Object> params, java.lang.String sqlQueryErrorData, java.sql.Connection con, FunctionWithException<java.sql.ResultSet,PersistentWorkflow<?>> decode)
-
-
-
Method Detail
-
processResult
public static java.util.List<Workflow<?>> processResult(java.lang.String sql, java.util.List<java.lang.Object> params, java.lang.String sqlQueryErrorData, java.sql.Connection con, FunctionWithException<java.sql.ResultSet,PersistentWorkflow<?>> decode) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
processAuditResult
@Deprecated public static java.util.List<org.copperengine.management.model.AuditTrailInfo> processAuditResult(java.lang.String sql, java.util.List<java.lang.Object> params, java.sql.Connection con, boolean loadMessage) throws java.sql.SQLException
Deprecated.- Throws:
java.sql.SQLException
-
processAuditResult
public static java.util.List<org.copperengine.management.model.AuditTrailInfo> processAuditResult(java.lang.String sql, java.util.List<java.lang.Object> params, java.sql.Connection con, boolean loadMessage, boolean clobSupported) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
processCountResult
public static int processCountResult(java.lang.StringBuilder sql, java.util.List<java.lang.Object> params, java.sql.Connection con) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-