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

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major