spring-projects/spring-data-jpa — pull request #124 by thomasdarimont (2014-11-25 14:33:15+00:00)
Title: DATAJPA-606 - Improve handling of empty arrays and collections in query parameters.

Introduced potentiallyConvertEmptyCollection method to PersistenceProvider for provider specific handling of empty collections. Special handling is performed for Hibernate and EclipseLink. Conversion is performed in ParameterMetadata.prepare(..). Renamed ParameterMetadataProvider.accessor to bindableParameterValues.

This is an version of the original pr: #123 adjusted to the 1.7.x branch.