@MappedSuperclass with generics - no java type resolving

Description

To a lot of problems with @MappedSuperclass with generics.

We have:

And we have:

Next, jpa criteria:

If the generic parameter is just type, we have Object at getJavaType().

TEST CASE:
I'm try to execute criteria query and have this test case:

And i have assertion exception - getJavaType() returns Serializable.
In my project requirements i need to know type of fields in MappedSuperclass.

Environment

JDK 1.8, Spring 4.1.6, Spring Data 1.9.2

Assignee

Unassigned

Reporter

Imba

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure