Permalink
Switch branches/tags
Commits on Sep 2, 2011
Commits on Sep 1, 2011
  1. Formatting.

    olivergierke committed Sep 1, 2011
Commits on Aug 31, 2011
  1. DATADOC-68 - Refactorings to support geo-near queries.

    olivergierke committed Aug 25, 2011
    Removed dependency from Parameter to Parameters as it is obsolete. Let ClassUtils return component type for Iterables piped into getReturnedDomainClass(…).
  2. DATACMNS-69 - Added caching to RepositoryInterfaceAwareBeanPostProces…

    olivergierke committed Aug 31, 2011
    …sor.
    
    Actual types resolved in getClassForPropertyValue(…) get cached now to avoid unnecessary attempt to load classes.
  3. DATACMNS-68 - Fixed potential NPE in AbstractPersistentProperty.

    olivergierke committed Aug 31, 2011
    Fixed ClassTypeInformation returning correct component types for types implementing or extending a Collection or Map type.
Commits on Aug 29, 2011
  1. DATACMNS-66 - Update shouldIgnoreCase to enum.

    philwebb authored and olivergierke committed Aug 29, 2011
    Change shouldIgnoreCase() to return an enum value allowing for exceptions to be thrown depending on when ignoreCase or allIgnoreCase is used.
Commits on Aug 25, 2011
  1. DATACMNS-66 - Polishing.

    philwebb authored and olivergierke committed Aug 25, 2011
    Removed Part.shouldAlwaysIgnoreCase() and don't constraint Part.shouldIgnoreCase() to String parts anymore.
  2. DATACMNS-66 - Added support for IgnoreCase as query keyword.

    philwebb authored and olivergierke committed Aug 24, 2011
    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.
Commits on Aug 23, 2011
  1. DATACMNS-65 - Using ReentrantReadWriteLock to prevent race conditions…

    olivergierke committed Aug 23, 2011
    … 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.
Commits on Aug 21, 2011
  1. DATACMNS-64 - QueryMethod now rejects paging methods without a Pageab…

    olivergierke committed Aug 21, 2011
    …le argument.
    
    Refactored ClassUtils.assertReturnType(…) to positively discover subtypes of the given types as well. Renamed the method accordingly.
  2. DATACMNS-61 - Refactored QueryMethod, Parameters and Parameter to be …

    olivergierke committed Aug 21, 2011
    …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.
Commits on Aug 19, 2011
  1. Fixed potential NullPointerExceptions for TypeDiscoverer.getComponent…

    olivergierke committed Aug 19, 2011
    …Type() and getMapValueType().
Commits on Aug 16, 2011
  1. Formatting.

    olivergierke committed Aug 16, 2011
  2. DATACMNS-59 - AbstractQueryCreator now handles static and dynamic sor…

    olivergierke committed Aug 16, 2011
    …ting combined.
    
    Added and(…) method to Sort to combine two Sort instances and produce a resulting Sort.
Commits on Jul 28, 2011
  1. DATACMNS-57 - TypeDiscoverer now discovers generic constructor parame…

    olivergierke committed Jul 28, 2011
    …ters correctly.
    
    Fixed formatting for unit test as well.
Commits on Jul 25, 2011
  1. DATACMNS-56 - Tweak to algorithm of PreferredConstructorDiscoverer to…

    olivergierke committed Jul 25, 2011
    … pick up single argument-taking constructor.
  2. DATACMNS-56 - PreferredConstructorDiscoverer does not throw an except…

    olivergierke committed Jul 25, 2011
    …ion in case no preferred constructor is found.
Commits on Jul 21, 2011
Commits on Jul 19, 2011