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

reflite needs to handle entity class generics

Description

I thought it did, but apparently not properly The test where this pops up is org.hibernate.test.annotations.generics.GenericsTest with a model like:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 @MappedSuperclass public class Item<Type, Owner> extends PricedStuff { @Id private Integer id; private String name; @ManyToOne private Type type; @ManyToOne private Owner owner; ... } @Entity public class Paper extends Item<PaperType, SomeGuy> { }

The problem is in the resolution of the to many-to-one attributes. Currently the are "resolved" as Object.

Environment

None

Status

Assignee

Unassigned

Reporter

Steve Ebersole

Components

Fix versions

Priority

Major