Hibernate ORM does frequently need to iterate on the JdbcParameter Lists, and it risks triggering type pollution during each step of such iteration. This issue is to track mitigation for this, and also proposes a slightly more robust contract as we want to expose an “immutable list” as internal contract rather than a vanilla List, which inherently exposes mutability and several other operations we don’t actually need. |