@Override
    public String getPropertyNameForForeignKey(String fkName, EntityType entityType) {
        String[] split = SPLIT.split(fkName);
        if (split.length > 2) {
            return getPropertyName(split[split.length - 2], entityType);
        } else {
            return super.getPropertyNameForForeignKey(fkName, entityType);
        }
    }
{@code ExtendedNamingStrategy} works like the {@link DefaultNamingStrategy}, but tries to create foreign key
property names in a different way.

<p>It looks for patterns like this {@literal .*_<forward>_<inverse>} and uses the forward part for
the foreign key name and inverse for the inverse foreign key name.</p>

@author tiwe
querydsl-sql-codegen/src/main/java/com/querydsl/sql/codegen/ExtendedNamingStrategy.java