NativeQueryTupleTransformer discards case of alias names.

Description

Hey there,

i have a strange naming issue with Spring Data JPA native queries. Basically i´m issueing this query:

I have a Spring Data JPA Projection Interface which should take the results.
But the naming gets confused. These means the Property:

gets not filled, because Hibernate (a suggestion) does the naming wrong, which means invoiceId will be named invoiceid (mind the second lower case naming). So Spring cannot map the right Interface properties.

I have filed a Spring Data JPA Issue here:
https://jira.spring.io/browse/DATAJPA-1225

Please see all details with screenshots and comments on the above link.

Please let me know if you need further information.

Thank you!

Environment

Spring Boot 1.5.8.RELEASE/Spring Data JPA 1.11.8/Postgres Driver 9.4.1212.jre7

Status

Assignee

Chris Cranford

Reporter

Thomas Lang

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure