liquibase-core/src/main/java/liquibase/snapshot/jvm/ForeignKeySnapshotGenerator.java
private void setValidateOptionIfAvailable(Database database, ForeignKey foreignKey, CachedRow cachedRow) {
        if (!(database instanceof OracleDatabase)) {
            return;
        }
        final String constraintValidate = cachedRow.getString("FK_VALIDATE");
        final String VALIDATE = "VALIDATED";
        if (constraintValidate!=null && !constraintValidate.isEmpty()) {
            foreignKey.setShouldValidate(VALIDATE.equals(cleanNameFromDatabase(constraintValidate.trim(), database)));
        }
    }
private void setValidateOptionIfAvailable(Database database, ForeignKey foreignKey, CachedRow cachedRow) {
        if (!(database instanceof OracleDatabase)) {
            return;
        }
        final String constraintValidate = cachedRow.getString("FK_VALIDATE");
        final String VALIDATE = "VALIDATED";
        if (constraintValidate!=null && !constraintValidate.isEmpty()) {
            foreignKey.setShouldValidate(VALIDATE.equals(cleanNameFromDatabase(constraintValidate.trim(), database)));
        }
    }
private void setValidateOptionIfAvailable ( Database database , ForeignKey foreignKey , CachedRow cachedRow ) { if ( ! ( database instanceof OracleDatabase ) ) { return ; } final String constraintValidate = cachedRow . getString ( "FK_VALIDATE" ) ; final String VALIDATE = "VALIDATED" ; if ( constraintValidate != null && ! constraintValidate . isEmpty ( ) ) { foreignKey . setShouldValidate ( VALIDATE . equals ( cleanNameFromDatabase ( constraintValidate . trim ( ) , database ) ) ) ; } }
Method to map 'validate' option for FK. This thing works only for ORACLE

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