@Override
    public void apply(Configuration configuration) {
        try {
            Class<?> typeClass = Class.forName(type);
            if (Type.class.isAssignableFrom(typeClass)) {
                configuration.register(table, column, (Type<?>) typeClass.newInstance());
            } else {
                configuration.register(table, column, typeClass);
            }
        } catch (ClassNotFoundException | IllegalAccessException | InstantiationException e) {
            throw new RuntimeException(e);
        }
    }
{@code TypeMapping} customizes the mapping from table + column to a type.

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