Skip to content

Commit

Permalink
fully qualify database objects
Browse files Browse the repository at this point in the history
  • Loading branch information
farrell-m committed Jan 21, 2025
1 parent 08ef3c5 commit 75ecdcf
Show file tree
Hide file tree
Showing 55 changed files with 172 additions and 173 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ public class OracleContainerSingleton {
private final OracleContainer oracleContainer;

private OracleContainerSingleton() {
oracleContainer = new OracleContainer("gvenzl/oracle-free:23-slim-faststart");
oracleContainer = new OracleContainer("gvenzl/oracle-free:23-slim-faststart")
.withUsername("XXCCMS");
oracleContainer.start();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ public class LookupServiceIntegrationTest implements IntegrationTestInterface {

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"INSERT INTO XXCCMS.XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"VALUES ('DP', 'Del. Functions', '1350.00', 'Y', 'Y');",
"INSERT INTO XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"INSERT INTO XXCCMS.XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"VALUES ('ECF', 'ECF', NULL, NULL, 'Y');",
"INSERT INTO XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"INSERT INTO XXCCMS.XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"VALUES ('EMER', 'Emergency', '1350.00', NULL, 'Y');",
"INSERT INTO XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"INSERT INTO XXCCMS.XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"VALUES ('SUB', 'Substantive', NULL, NULL, 'Y');",
"INSERT INTO XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"INSERT INTO XXCCMS.XXCCMS_APP_AMEND_TYPES_V (APP_TYPE_CODE, APP_TYPE_DESCRIPTION, COST_LIMIT_CAP, DEVOLVED_POWERS_IND, DEFAULT_LAR_SCOPE_FLAG) " +
"VALUES ('SUBDP', 'Substantive with Delegated Function', NULL, 'Y', 'Y');"
})
@CsvSource({"DP, Del. Functions",
Expand All @@ -71,11 +71,11 @@ public void testGetAmendmentTypes(String code, String expectedDescription) {

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_APP_CASE_STATUS_V (STATUS_CODE, STATUS_DESCRIPTION, COPY_ALLOWED_IND) " +
"INSERT INTO XXCCMS.XXCCMS_APP_CASE_STATUS_V (STATUS_CODE, STATUS_DESCRIPTION, COPY_ALLOWED_IND) " +
"VALUES ('S1', 'Status One', 'N');",
"INSERT INTO XXCCMS_APP_CASE_STATUS_V (STATUS_CODE, STATUS_DESCRIPTION, COPY_ALLOWED_IND) " +
"INSERT INTO XXCCMS.XXCCMS_APP_CASE_STATUS_V (STATUS_CODE, STATUS_DESCRIPTION, COPY_ALLOWED_IND) " +
"VALUES ('S2', 'Status Two', 'Y');",
"INSERT INTO XXCCMS_APP_CASE_STATUS_V (STATUS_CODE, STATUS_DESCRIPTION, COPY_ALLOWED_IND) " +
"INSERT INTO XXCCMS.XXCCMS_APP_CASE_STATUS_V (STATUS_CODE, STATUS_DESCRIPTION, COPY_ALLOWED_IND) " +
"VALUES ('S3', 'Status Three', 'N');",
})
@CsvSource({"true, 1", "false, 2"})
Expand All @@ -94,9 +94,9 @@ public void testGetCaseStatusValues(Boolean copyAllowed, Integer expectedResults

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_COMMON_LOV_V (LOV_TYPE, CODE, DESCRIPTION, START_DATE_ACTIVE) " +
"INSERT INTO XXCCMS.XXCCMS_COMMON_LOV_V (LOV_TYPE, CODE, DESCRIPTION, START_DATE_ACTIVE) " +
"VALUES ('type1', 'code1', 'Description 1', CURRENT_TIMESTAMP)",
"INSERT INTO XXCCMS_COMMON_LOV_V (LOV_TYPE, CODE, DESCRIPTION, START_DATE_ACTIVE) " +
"INSERT INTO XXCCMS.XXCCMS_COMMON_LOV_V (LOV_TYPE, CODE, DESCRIPTION, START_DATE_ACTIVE) " +
"VALUES ('type1', 'code2', 'Description 2', CURRENT_TIMESTAMP)",
// Add more INSERT statements as needed
})
Expand Down Expand Up @@ -125,9 +125,9 @@ public void testGetCommonValues(String type, String code, String desc,

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_COUNTRY_V (CODE, DESCRIPTION) " +
"INSERT INTO XXCCMS.XXCCMS_COUNTRY_V (CODE, DESCRIPTION) " +
"VALUES ('code1', 'Description 1')",
"INSERT INTO XXCCMS_COUNTRY_V (CODE, DESCRIPTION) " +
"INSERT INTO XXCCMS.XXCCMS_COUNTRY_V (CODE, DESCRIPTION) " +
"VALUES ('code2', 'Description 2')",
})
@CsvSource(value= {
Expand All @@ -149,10 +149,10 @@ public void testGetCountries(String code, Integer expectedElements) {

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_OUTCOME_RESULTS_V (PROCEEDING_CODE, OUTCOME_RESULT, "
"INSERT INTO XXCCMS.XXCCMS_OUTCOME_RESULTS_V (PROCEEDING_CODE, OUTCOME_RESULT, "
+ "OUTCOME_RESULT_DESCRIPTION, OUTCOME_RESULT_LOV, ENABLED_FLAG) " +
"VALUES ('code1', 'Result 1', 'Desc 1', 'Lov 1', 'Y')",
"INSERT INTO XXCCMS_OUTCOME_RESULTS_V (PROCEEDING_CODE, OUTCOME_RESULT, "
"INSERT INTO XXCCMS.XXCCMS_OUTCOME_RESULTS_V (PROCEEDING_CODE, OUTCOME_RESULT, "
+ "OUTCOME_RESULT_DESCRIPTION, OUTCOME_RESULT_LOV, ENABLED_FLAG) " +
"VALUES ('code1', 'Result 2', 'Desc 2', 'Lov 2', 'N')",
})
Expand All @@ -176,10 +176,10 @@ public void testGetOutcomeResults(String code, String results, Integer expectedE

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_STAGE_END_V (PROCEEDING_CODE, STAGE_END, "
"INSERT INTO XXCCMS.XXCCMS_STAGE_END_V (PROCEEDING_CODE, STAGE_END, "
+ "STAGE_END_DESCRIPTION, STAGE_END_LOV, ENABLED_FLAG) " +
"VALUES ('code1', 'StageEnd 1', 'Desc 1', 'Lov 1', 'Y')",
"INSERT INTO XXCCMS_STAGE_END_V (PROCEEDING_CODE, STAGE_END, "
"INSERT INTO XXCCMS.XXCCMS_STAGE_END_V (PROCEEDING_CODE, STAGE_END, "
+ "STAGE_END_DESCRIPTION, STAGE_END_LOV, ENABLED_FLAG) " +
"VALUES ('code1', 'StageEnd 2', 'Desc 2', 'Lov 2', 'N')",
})
Expand All @@ -203,11 +203,11 @@ public void testGetStageEnds(String code, String stageEnd, Integer expectedEleme

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_PER_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, DOB_MANDATORY, COPY_PARTY) " +
"INSERT INTO XXCCMS.XXCCMS_PER_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, DOB_MANDATORY, COPY_PARTY) " +
"VALUES ('REL1', 'Relationship 1', 'Y', 'N', 'N', 'Y');",
"INSERT INTO XXCCMS_PER_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, DOB_MANDATORY, COPY_PARTY) " +
"INSERT INTO XXCCMS.XXCCMS_PER_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, DOB_MANDATORY, COPY_PARTY) " +
"VALUES ('REL2', 'Relationship 2', 'N', 'Y', 'Y', 'N');",
"INSERT INTO XXCCMS_PER_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, DOB_MANDATORY, COPY_PARTY) " +
"INSERT INTO XXCCMS.XXCCMS_PER_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, DOB_MANDATORY, COPY_PARTY) " +
"VALUES ('REL3', 'Relationship 3', 'N', 'N', 'N', 'N');"
})
@CsvSource(value = {
Expand All @@ -232,11 +232,11 @@ public void testGetPersonRelationshipsToCase(String code, String description, In

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_ORG_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, COPY_PARTY) " +
"INSERT INTO XXCCMS.XXCCMS_ORG_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, COPY_PARTY) " +
"VALUES ('REL1', 'Relationship 1', 'Y', 'N', 'Y');",
"INSERT INTO XXCCMS_ORG_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, COPY_PARTY) " +
"INSERT INTO XXCCMS.XXCCMS_ORG_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, COPY_PARTY) " +
"VALUES ('REL2', 'Relationship 2', 'N', 'Y', 'N');",
"INSERT INTO XXCCMS_ORG_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, COPY_PARTY) " +
"INSERT INTO XXCCMS.XXCCMS_ORG_RELTOCASE_V (CODE, DESCRIPTION, DEFAULT_CODE, OPPONENT_IND, COPY_PARTY) " +
"VALUES ('REL3', 'Relationship 3', 'N', 'N', 'N');"
})
@CsvSource(value = {
Expand All @@ -262,13 +262,13 @@ public void testGetOrganisationRelationshipsToCase(String code, String descripti

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_AWARD_TYPE_V (CODE, DESCRIPTION, AWARD_TYPE, "
"INSERT INTO XXCCMS.XXCCMS_AWARD_TYPE_V (CODE, DESCRIPTION, AWARD_TYPE, "
+ "START_DATE_ACTIVE, END_DATE_ACTIVE, ENABLED_FLAG) " +
"VALUES ('COST', 'AwardType 1', 'AWARD1', TO_DATE('1900-01-01', 'YYYY-MM-DD'), null, 'Y')",
"INSERT INTO XXCCMS_AWARD_TYPE_V (CODE, DESCRIPTION, AWARD_TYPE, "
"INSERT INTO XXCCMS.XXCCMS_AWARD_TYPE_V (CODE, DESCRIPTION, AWARD_TYPE, "
+ "START_DATE_ACTIVE, END_DATE_ACTIVE, ENABLED_FLAG) " +
"VALUES ('COST_AGR', 'AwardType 2', 'AWARD1', TO_DATE('1900-01-01', 'YYYY-MM-DD'), null, 'Y')",
"INSERT INTO XXCCMS_AWARD_TYPE_V (CODE, DESCRIPTION, AWARD_TYPE, "
"INSERT INTO XXCCMS.XXCCMS_AWARD_TYPE_V (CODE, DESCRIPTION, AWARD_TYPE, "
+ "START_DATE_ACTIVE, END_DATE_ACTIVE, ENABLED_FLAG) " +
"VALUES ('DAMAGE', 'AwardType 3', 'AWARD2', TO_DATE('1900-01-01', 'YYYY-MM-DD'), null, 'Y')",
})
Expand All @@ -292,11 +292,11 @@ public void testGetAwardTypes(String code, String awardType, Integer expectedEle

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_CATEGORY_OF_LAW_V (CATEGORY_OF_LAW_CODE, MATTER_TYPE_DESCRIPTION, COPY_COST_LIMIT_IND) " +
"INSERT INTO XXCCMS.XXCCMS_CATEGORY_OF_LAW_V (CATEGORY_OF_LAW_CODE, MATTER_TYPE_DESCRIPTION, COPY_COST_LIMIT_IND) " +
"VALUES ('CAT1', 'Mat 1', 'Y')",
"INSERT INTO XXCCMS_CATEGORY_OF_LAW_V (CATEGORY_OF_LAW_CODE, MATTER_TYPE_DESCRIPTION, COPY_COST_LIMIT_IND) " +
"INSERT INTO XXCCMS.XXCCMS_CATEGORY_OF_LAW_V (CATEGORY_OF_LAW_CODE, MATTER_TYPE_DESCRIPTION, COPY_COST_LIMIT_IND) " +
"VALUES ('CAT2', 'Mat 1', 'N')",
"INSERT INTO XXCCMS_CATEGORY_OF_LAW_V (CATEGORY_OF_LAW_CODE, MATTER_TYPE_DESCRIPTION, COPY_COST_LIMIT_IND) " +
"INSERT INTO XXCCMS.XXCCMS_CATEGORY_OF_LAW_V (CATEGORY_OF_LAW_CODE, MATTER_TYPE_DESCRIPTION, COPY_COST_LIMIT_IND) " +
"VALUES ('CAT3', 'Mat 2', 'Y')",
})
@CsvSource(value= {
Expand All @@ -319,11 +319,11 @@ public void testGetCategoriesOfLaw(String code, String desc, Boolean copyCostLim

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_EVIDENCE_DOC_TYPE_V (LOV_TYPE, CODE, DESCRIPTION) " +
"INSERT INTO XXCCMS.XXCCMS_EVIDENCE_DOC_TYPE_V (LOV_TYPE, CODE, DESCRIPTION) " +
"VALUES ('TYPE1', 'CODE1', 'description 1')",
"INSERT INTO XXCCMS_EVIDENCE_DOC_TYPE_V (LOV_TYPE, CODE, DESCRIPTION) " +
"INSERT INTO XXCCMS.XXCCMS_EVIDENCE_DOC_TYPE_V (LOV_TYPE, CODE, DESCRIPTION) " +
"VALUES ('TYPE1', 'CODE2', 'description 2')",
"INSERT INTO XXCCMS_EVIDENCE_DOC_TYPE_V (LOV_TYPE, CODE, DESCRIPTION) " +
"INSERT INTO XXCCMS.XXCCMS_EVIDENCE_DOC_TYPE_V (LOV_TYPE, CODE, DESCRIPTION) " +
"VALUES ('TYPE2', 'CODE2', 'description 3')",
})
@CsvSource(value= {
Expand Down Expand Up @@ -368,9 +368,9 @@ public void testGetAssessmentSummaryAttributes(String summaryType, Integer expec

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_PROVIDER_REQTYPES_V (REQUEST_TYPE, REQUEST_NAME, CASE_RELATED_FLAG, ADDITIONAL_INFO_PROMPT, TASK_TYPE_ID, FILE_UPLD_ENABLED, ACCESS_FUNC_CODE, FILE_UPLD_PROMPT) " +
"INSERT INTO XXCCMS.XXCCMS_PROVIDER_REQTYPES_V (REQUEST_TYPE, REQUEST_NAME, CASE_RELATED_FLAG, ADDITIONAL_INFO_PROMPT, TASK_TYPE_ID, FILE_UPLD_ENABLED, ACCESS_FUNC_CODE, FILE_UPLD_PROMPT) " +
"VALUES ('TYPE1', 'Provider Type 1', 'Y', 'Prompt 1', '101', 'Y', 'ACC1', 'Upload Prompt 1');",
"INSERT INTO XXCCMS_PROVIDER_REQTYPES_V (REQUEST_TYPE, REQUEST_NAME, CASE_RELATED_FLAG, ADDITIONAL_INFO_PROMPT, TASK_TYPE_ID, FILE_UPLD_ENABLED, ACCESS_FUNC_CODE, FILE_UPLD_PROMPT) " +
"INSERT INTO XXCCMS.XXCCMS_PROVIDER_REQTYPES_V (REQUEST_TYPE, REQUEST_NAME, CASE_RELATED_FLAG, ADDITIONAL_INFO_PROMPT, TASK_TYPE_ID, FILE_UPLD_ENABLED, ACCESS_FUNC_CODE, FILE_UPLD_PROMPT) " +
"VALUES ('TYPE2', 'Provider Type 2', 'N', 'Prompt 2', '102', 'N', 'ACC2', 'Upload Prompt 2');"
})
@CsvSource({
Expand All @@ -388,9 +388,9 @@ public void testGetProviderRequestTypeLookupValues(Boolean isCaseRelated, Intege

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_PROVIDER_REQTYPES_V (REQUEST_TYPE, REQUEST_NAME, CASE_RELATED_FLAG, ADDITIONAL_INFO_PROMPT, TASK_TYPE_ID, FILE_UPLD_ENABLED, ACCESS_FUNC_CODE, FILE_UPLD_PROMPT) " +
"INSERT INTO XXCCMS.XXCCMS_PROVIDER_REQTYPES_V (REQUEST_TYPE, REQUEST_NAME, CASE_RELATED_FLAG, ADDITIONAL_INFO_PROMPT, TASK_TYPE_ID, FILE_UPLD_ENABLED, ACCESS_FUNC_CODE, FILE_UPLD_PROMPT) " +
"VALUES ('TYPE1', 'Provider Type 1', 'Y', 'Prompt 1', '101', 'Y', 'ACC1', 'Upload Prompt 1');",
"INSERT INTO XXCCMS_PROVIDER_REQTYPES_V (REQUEST_TYPE, REQUEST_NAME, CASE_RELATED_FLAG, ADDITIONAL_INFO_PROMPT, TASK_TYPE_ID, FILE_UPLD_ENABLED, ACCESS_FUNC_CODE, FILE_UPLD_PROMPT) " +
"INSERT INTO XXCCMS.XXCCMS_PROVIDER_REQTYPES_V (REQUEST_TYPE, REQUEST_NAME, CASE_RELATED_FLAG, ADDITIONAL_INFO_PROMPT, TASK_TYPE_ID, FILE_UPLD_ENABLED, ACCESS_FUNC_CODE, FILE_UPLD_PROMPT) " +
"VALUES ('TYPE2', 'Provider Type 2', 'N', 'Prompt 2', '102', 'N', 'ACC2', 'Upload Prompt 2');"
})
@CsvSource({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ public class PriorAuthorityServiceIntegrationTest implements IntegrationTestInte

@ParameterizedTest
@Sql(statements = {
"INSERT INTO XXCCMS_PRIOR_AUTHORITY_TYPE_V (CODE, DESCRIPTION, VALUE_REQUIRED_FLAG) " +
"INSERT INTO XXCCMS.XXCCMS_PRIOR_AUTHORITY_TYPE_V (CODE, DESCRIPTION, VALUE_REQUIRED_FLAG) " +
"VALUES ('TYPE1', 'Auth Type 1', 'Y');",
"INSERT INTO XXCCMS_PRIOR_AUTHORITY_TYPE_V (CODE, DESCRIPTION, VALUE_REQUIRED_FLAG) " +
"INSERT INTO XXCCMS.XXCCMS_PRIOR_AUTHORITY_TYPE_V (CODE, DESCRIPTION, VALUE_REQUIRED_FLAG) " +
"VALUES ('TYPE2', 'Auth Type 2', 'N');",
"INSERT INTO XXCCMS_PRIOR_AUTH_DETAILS_V (CODE, DESCRIPTION, DATA_TYPE, LOV_CODE, MANDATORY_FLAG, PRIOR_AUTHORITY_TYPE_CODE) " +
"INSERT INTO XXCCMS.XXCCMS_PRIOR_AUTH_DETAILS_V (CODE, DESCRIPTION, DATA_TYPE, LOV_CODE, MANDATORY_FLAG, PRIOR_AUTHORITY_TYPE_CODE) " +
"VALUES ('AUTH1', 'Prior Auth 1', 'Data Type 1', 'Lov 1', 'Y', 'TYPE1');",
"INSERT INTO XXCCMS_PRIOR_AUTH_DETAILS_V (CODE, DESCRIPTION, DATA_TYPE, LOV_CODE, MANDATORY_FLAG, PRIOR_AUTHORITY_TYPE_CODE) " +
"INSERT INTO XXCCMS.XXCCMS_PRIOR_AUTH_DETAILS_V (CODE, DESCRIPTION, DATA_TYPE, LOV_CODE, MANDATORY_FLAG, PRIOR_AUTHORITY_TYPE_CODE) " +
"VALUES ('AUTH2', 'Prior Auth 2', 'Data Type 2', 'Lov 2', 'N', 'TYPE1');",
})
@CsvSource(value = {"TYPE1, null, 2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ public class ProceedingServiceIntegrationTest implements IntegrationTestInterfac

@Test
@Sql(statements = {
"INSERT INTO XXCCMS_PROCEEDING_V (PROCEEDING_CODE, PROCEEDING_NAME, DESCRIPTION, CATEGORY_OF_LAW_CODE, "
"INSERT INTO XXCCMS.XXCCMS_PROCEEDING_V (PROCEEDING_CODE, PROCEEDING_NAME, DESCRIPTION, CATEGORY_OF_LAW_CODE, "
+ "STAGE_END_LOV, OUTCOME_RESULT_LOV, MATTER_TYPE, AMENDMENT_ONLY, ENABLED_FLAG, ORDER_TYPE_REQUIRED, PROC_LAR_SCOPE) " +
"VALUES ('PROC1', 'Proceeding 1', 'The first proceeding', 'CAT1', 'stageendlov1', 'outcomeresultlov1', 'MAT1', 'Y', 'Y', 'Y', 'proclarscope1');",
"INSERT INTO XXCCMS_PROCEEDING_V (PROCEEDING_CODE, PROCEEDING_NAME, DESCRIPTION, CATEGORY_OF_LAW_CODE, "
"INSERT INTO XXCCMS.XXCCMS_PROCEEDING_V (PROCEEDING_CODE, PROCEEDING_NAME, DESCRIPTION, CATEGORY_OF_LAW_CODE, "
+ "STAGE_END_LOV, OUTCOME_RESULT_LOV, MATTER_TYPE, AMENDMENT_ONLY, ENABLED_FLAG, ORDER_TYPE_REQUIRED, PROC_LAR_SCOPE) " +
"VALUES ('PROC2', 'Proceeding 2', 'The first proceeding', 'CAT2', 'stageendlov2', 'outcomeresultlov2', 'MAT2', 'N', 'Y', 'Y', 'proclarscope2');"})
public void testGetProceeding() {
Expand Down Expand Up @@ -60,10 +60,10 @@ public void testGetProceeding() {

@Test
@Sql(statements = {
"INSERT INTO XXCCMS_PROCEEDING_V (PROCEEDING_CODE, PROCEEDING_NAME, DESCRIPTION, CATEGORY_OF_LAW_CODE, "
"INSERT INTO XXCCMS.XXCCMS_PROCEEDING_V (PROCEEDING_CODE, PROCEEDING_NAME, DESCRIPTION, CATEGORY_OF_LAW_CODE, "
+ "STAGE_END_LOV, OUTCOME_RESULT_LOV, MATTER_TYPE, AMENDMENT_ONLY, ENABLED_FLAG, ORDER_TYPE_REQUIRED, PROC_LAR_SCOPE) " +
"VALUES ('PROC1', 'Proceeding 1', 'The first proceeding', 'CAT1', 'stageendlov1', 'outcomeresultlov1', 'MAT1', 'Y', 'Y', 'Y', 'proclarscope1');",
"INSERT INTO XXCCMS_PROCEEDING_V (PROCEEDING_CODE, PROCEEDING_NAME, DESCRIPTION, CATEGORY_OF_LAW_CODE, "
"INSERT INTO XXCCMS.XXCCMS_PROCEEDING_V (PROCEEDING_CODE, PROCEEDING_NAME, DESCRIPTION, CATEGORY_OF_LAW_CODE, "
+ "STAGE_END_LOV, OUTCOME_RESULT_LOV, MATTER_TYPE, AMENDMENT_ONLY, ENABLED_FLAG, ORDER_TYPE_REQUIRED, PROC_LAR_SCOPE) " +
"VALUES ('PROC2', 'Proceeding 2', 'The first proceeding', 'CAT2', 'stageendlov2', 'outcomeresultlov2', 'MAT2', 'N', 'Y', 'Y', 'proclarscope2');"})
public void testGetProceedings() {
Expand Down
Loading

0 comments on commit 75ecdcf

Please sign in to comment.