QueryPlanCache#getSQLParameterMetadata isOrdinalParameterZeroBased is unused

Description

The boolean in QueryPlanCache#getSQLParameterMetadata(String, boolean) is unused.

Environment

None

Activity

Show:
Vlad Mihalcea
February 8, 2019, 7:47 AM

After investigating it, it looks the isOrdinalParameterZeroBased is used in the query plan cache key. Removing it is not a good idea since the isOrdinalParameterZeroBased is different if we call either createSQLQuery or createNativeQuery.

Assignee

Vlad Mihalcea

Reporter

Philippe Marschall

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure