Currently the ParameterMarkerStrategy is to be looked up from the ServiceRegistry or from the FastSessionServices facility; however serviceregistry lookups are prone to runtime type pollution while the fastsessionservices approach isn’t suitable for any component which (potentially) gets also initialized before the SessionFactory is fully started. Exposing ParameterMarkerStrategy on JDBCServices seems like better fit and keeps the code clean from having to deal with such special cases. |