morphia icon indicating copy to clipboard operation
morphia copied to clipboard

Mapping fails if entity class has generic fields

Open andrey-polyakov opened this issue 8 years ago • 0 comments

Breaks in the method called fromDBObject. It appears that code does not account for generic variables.

Sample class:

public class TemporalTuple<T> implements Comparable<T> {
    private Date effectiveFrom = new Date(), effectiveTo;
    private <T>value;
. . .

andrey-polyakov avatar Aug 31 '17 22:08 andrey-polyakov