We're updating the issue view to help you get more done. 

Replace PojoReference with mapper-specific types

Description

Because:

  1. PojoReference is not a great name, as only entities can be referenced.

  2. Even mappers based on the Pojo mapper may not find this type appropriate. For example, Infinispan will allow indexing POJOs, but als JSON documents which do not have a "java type" and for which PojoReference.getType() will not make sense.

  3. We can! In most of the code, the type of references is already a generic parameter.

Environment

None

Status

Assignee

Unassigned

Reporter

Yoann Rodière

Fix versions

Priority

Major