Supported via DefaultConfiguration.addCustomType :
public <T> void addCustomType(Class<T> type, Class<? extends Expression<T>> queryType){ module.get(TypeMappings.class).register(new ClassType(type), new ClassType(queryType)); }
Supported via DefaultConfigur ation.addCustom Type :
public <T> void addCustomType( Class<T> type, Class<? extends Expression<T>> queryType){
module. get(TypeMapping s.class) .register( new ClassType(type), new ClassType( queryType) );
}