private void setValidateOptionIfAvailable(Database database, UniqueConstraint uniqueConstraint, Map<String, ?> columnsMetadata) {
    """
	Method to map 'validate' option for UC. This thing works only for ORACLE
	
	@param database - DB where UC will be created
	@param uniqueConstraint - UC object to persist validate option
	@param columnsMetadata - it's a cache-map to get metadata about UC
    """
        if (!(database instanceof OracleDatabase)) {
            return;
        }
        final Object constraintValidate = columnsMetadata.get("CONSTRAINT_VALIDATE");
        final String VALIDATE = "VALIDATED";
        if (constraintValidate!=null && !constraintValidate.toString().trim().isEmpty()) {
            uniqueConstraint.setShouldValidate(VALIDATE.equals(cleanNameFromDatabase(constraintValidate.toString().trim(), database)));
        }
    }
private void setValidateOptionIfAvailable(Database database, UniqueConstraint uniqueConstraint, Map<String, ?> columnsMetadata) {
        if (!(database instanceof OracleDatabase)) {
            return;
        }
        final Object constraintValidate = columnsMetadata.get("CONSTRAINT_VALIDATE");
        final String VALIDATE = "VALIDATED";
        if (constraintValidate!=null && !constraintValidate.toString().trim().isEmpty()) {
            uniqueConstraint.setShouldValidate(VALIDATE.equals(cleanNameFromDatabase(constraintValidate.toString().trim(), database)));
        }
    }
private void setValidateOptionIfAvailable ( Database database , UniqueConstraint uniqueConstraint , Map < String , ? > columnsMetadata ) { if ( ! ( database instanceof OracleDatabase ) ) { return ; } final Object constraintValidate = columnsMetadata . get ( "CONSTRAINT_VALIDATE" ) ; final String VALIDATE = "VALIDATED" ; if ( constraintValidate != null && ! constraintValidate . toString ( ) . trim ( ) . isEmpty ( ) ) { uniqueConstraint . setShouldValidate ( VALIDATE . equals ( cleanNameFromDatabase ( constraintValidate . toString ( ) . trim ( ) , database ) ) ) ; } }
Method to map 'validate' option for UC. This thing works only for ORACLE

@param database - DB where UC will be created
@param uniqueConstraint - UC object to persist validate option
@param columnsMetadata - it's a cache-map to get metadata about UC
Method to map validate option for UC . This thing works only for ORACLE