Removed dependency from Parameter to Parameters as it is obsolete. Let ClassUtils return component type for Iterables piped into getReturnedDomainClass(…).
…sor. Actual types resolved in getClassForPropertyValue(…) get cached now to avoid unnecessary attempt to load classes.
Fixed ClassTypeInformation returning correct component types for types implementing or extending a Collection or Map type.
The query parsing subsystem now supports using IgnoreCase when referencing String parameters, e.g.: findByUsernameIgnoreCase(String username); Both 'IgnoreCase' and 'IgnoringCase' are supported. If you'd like to entirely ignore cases for all String property references add 'AllIgnoreCase' or 'AllIgnoringCase' to the query method.
… in PersistentEntity creation. We have to lock PersistentEntity creation as instances could be prematurely handed out and iteration over the properties might interfere new properties being added to the Set iterated over.
…le argument. Refactored ClassUtils.assertReturnType(…) to positively discover subtypes of the given types as well. Renamed the method accordingly.
… for query type public.
…more open for extension. QueryMethod now provides a protected method to allow customization of the Parameters instance being used. Removed final modifier from Parameters and Parameter classes to allow extension. Refactored Parameter to be based on Spring's MethodParameter for more encapsulation. Added callback method to Parameters to allow customizing Parameter instance creation. Added protected method to ParametersParameterAccessor to get any parameter value by index.
…Type() and getMapValueType().
…ting combined. Added and(…) method to Sort to combine two Sort instances and produce a resulting Sort.
…ters correctly. Fixed formatting for unit test as well.
… pick up single argument-taking constructor.
…ion in case no preferred constructor is found.
…and Maps as well.