Infer type in persistence if given a default and no explicit collection class