code: private void scalar(String alias, Class<?> type) {
  		Type t = types.get(type);
  		if (t == null) {
  			throw new IllegalArgumentException("Unsupported type " + type);
  		}
  		scalars.put(alias, t);
  	}
docs: Convenient method to convert Java type to Hibernate standard basic type and insert into scalars map. See {@link #types}
  for supported Java types.
  
  @param alias column name or alias,
  @param type Java type.
  @throws IllegalArgumentException if requested Java type is not supported.