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

Type mapping of @ColumnResult is ignored

Description

In ResultsetMappingSecondPass.java:

1 2 3 4 5 6 7 8 9 10 for ( ColumnResult column : ann.columns() ) { definition.addQueryReturn( new NativeSQLQueryScalarReturn( mappings.getObjectNameNormalizer().normalizeIdentifierQuoting( column.name() ), null ) ); }

Instead of a "null", the mapped column.type() argument of @ColumnResult should be used.

Environment

None

Status

Assignee

Gunnar Morling

Reporter

Christian Bauer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Affects versions

4.3.0.Beta2

Priority

Minor