Allow custom codecs with non public constructors in @Param

Description

A custom parameter codec cannot be instantiated if no public constructor is provided.

I believe that the behaviour in case of @Param should be consistent with custom codecs specified specified with @Field and @Column.

The problem is that ParamMapper is calling newInstance directly instead of using ReflectionUtils.newInstance.

Environment

None

Pull Requests

None
Fixed

Assignee

Unassigned

Reporter

Vladimir Tsanev

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Components

Priority

Major
Configure