Support ResultTransformer

Description

For example:

1 2 3 4 5 String nativeQuery = "MATCH ( n:" + TABLE_NAME + " { name:'Portia', author:'Oscar Wilde' } ) RETURN n.name, n.author"; session.createNativeQuery( nativeQuery ) .setResultTransformer( new AliasToBeanConstructorResultTransformer(OscarWildePoem.class.getConstructor( String.class, String.class ) ) ) .uniqueResult();

I think it requires to be implemented differently for different databases

Environment

None

Status

Assignee

Viktoryia Khlystun

Reporter

Davide D'Alto

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major