@Component public class ExecutionReportQueryExecutor extends AbstractQueryExecutor implements SqlQueries
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExecutionReportQueryExecutor.Storage
Storage Interface.
|
DBSCHEMA, INSERT_SITUATION_INSTANCE, INSERT_SITUATION_INSTANCE_GENERATE_ID, INSERT_TC_CONTEXT_GENERATE_ID, KEY, STORE_CALL_CHAIN_INSTANCE, STORE_CONNECTION_PROPS, STORE_CONTEXT_BINDING_KEYS, STORE_CONTEXT_REPORT_LINKS, STORE_CONTEXT_REPORT_LINKS_ON_CONFLICT, STORE_INSTANCE_CONTEXT, STORE_MESSAGE, STORE_MESSAGE_HEADERS, STORE_MESSAGE_PARAMETER, STORE_MESSAGE_PARAMETER_VALUE, STORE_MESSAGE_PARAMETER_VALUE_FE_V, STORE_SP_CONTEXT, STORE_STEP_INSTANCE, STORE_TC_CONTEXT, UPDATE_SITUATION_INSTANCE, UPSERT_SITUATION_INSTANCE, VALUE| Constructor and Description |
|---|
ExecutionReportQueryExecutor(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
MdcHelper mdcHelper)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
fixUnicodeZeroByteSequence(String source)
Defense on PostgreSQL error:
org.postgresql.util.PSQLException: ERROR: invalid byte sequence for encoding "UTF8": 0x00.
|
ExecutionReportQueryExecutor.Storage |
getStorageByType(String objectType)
Get storage class by type of object.
|
protected Object |
prepareData(ResultSet resultSet,
com.google.gson.JsonObject object) |
void |
setAtpCatalogueUrl(String atpCatalogueUrl) |
execute, getJdbcTemplate, setJdbcTemplate@Autowired
public ExecutionReportQueryExecutor(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
MdcHelper mdcHelper)
jdbcTemplate - - Jdbc TemplatemdcHelper - - Mdc Helper@Value(value="${atp.catalogue.url}")
public void setAtpCatalogueUrl(String atpCatalogueUrl)
protected Object prepareData(ResultSet resultSet, com.google.gson.JsonObject object)
prepareData in class AbstractQueryExecutorpublic ExecutionReportQueryExecutor.Storage getStorageByType(String objectType)
objectType - - type of object,public static String fixUnicodeZeroByteSequence(String source)
source - - source string,Copyright © 2025. All rights reserved.