Mapper & Linq: Issue a log warning when the number of prepared statements is large

Description

As identified by :
If the user uses the Mapper with stringified values it can result in multiple queries being prepared by the Mapper and the memory consumption to go up.

The driver can issue a log warning when a threshold is reached (threshold that can be modified in the MappingConfiguration).

Environment

None
Done

Assignee

Jorge Bay Gondra

Reporter

Jorge Bay Gondra

Labels

None

PM Priority

None

Fix versions

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

None

Pull Requests

None

Size

None

Components

Priority

Major