Michael Hunger
986566f64e
Merge branch 'master' of github.com:SpringSource/spring-data-commons
15 years ago
J. Brisbin
71f08efa53
Merge branch 'master' of github.com:SpringSource/spring-data-commons
15 years ago
J. Brisbin
fec5bae808
Added MappingContextAware interface and BeanPostProcessor for same
15 years ago
Thomas Risberg
844328e178
prepared for snapshot builds
15 years ago
Thomas Risberg
db71edb362
preparing for 1.0.0.M7
15 years ago
Oliver Gierke
33013f8712
DATAJPA-44 - Domain class lookup in QueryMethod falls back to the repository domain class for methods not returning a domain class.
15 years ago
Oliver Gierke
895f0a4025
DATACMNS-24 - Separated RepositoryMetadata from RepositoryInformation.
...
Extracted basic information from RepositoryInformation into RepositoryMetadata to limit the amount of API being exposed to RepositoryFactorySupport implementations. getRepositoryBaseClass(…) can thus now take a RepositoryMetadata.
15 years ago
Thomas Risberg
1220ff98d0
removed slf4j dependency
15 years ago
Michael Hunger
2cbb372de5
added constructor bypassing instantiation
15 years ago
J. Brisbin
c6ad0f99fe
Merge branch 'master' of github.com:SpringSource/spring-data-commons
15 years ago
J. Brisbin
3f746ebf4f
Added array primitives to simple types
15 years ago
Oliver Gierke
4b51c5fd1f
DATACMNS-23 - Made PageImpl safe to take an empty collection.
...
Added hasContent() method to Page interface.
15 years ago
Oliver Gierke
c4d81a28f1
DATACMNS-25 - Refactored RepositoryFactorySupport.getQueryLookupStrategy(…)
...
Method is not abstract anymore but rather returns null by default. Adapted QueryExecutionMethodInterceptor to handle the null case appropriately by simply skipping the query lookup. It also throws an exception if the repository has query methods defined nonetheless to prevent exceptions at runtime.
15 years ago
Oliver Gierke
9931e885c0
Expose type of a query parser Property.
15 years ago
Oliver Gierke
6bb0923c14
DATACMNS-26 - Persistent constructor now detects non-public constructor.
15 years ago
Oliver Gierke
95ff87e959
Configured Maven JAR plugin to package the Bundlor generated MANIFEST.MF.
15 years ago
Oliver Gierke
c05bedce17
Fixed bug in Property.
15 years ago
Thomas Risberg
23ff75ee6e
needed access to entity when use with partial JPA/cross-store persistence
15 years ago
Oliver Gierke
b39c2cacc9
Refactored Property to use TypeInformation infrastructure.
...
Fixed bug in discovering invalid property names of nested properties.
15 years ago
Oliver Gierke
6d404527ed
Added isCollectionLike() and isMap() to TypeInformation interface.
...
isCollectionLike() allows identifying element containers like Arrays, Collections or everything else implementing Iterable.
15 years ago
Thomas Risberg
c0da416a17
prepared for snapshot builds
15 years ago
Thomas Risberg
06656ae062
preparing for 1.0.0.M6
15 years ago
Michael Hunger
b52de879de
extracted StateBackedCreator interface
15 years ago
Michael Hunger
8fa7aabdc0
added caching to AbstractConstructorEntityInstantiator
15 years ago
Oliver Gierke
e39f3724e2
Use BeanUtils to instantiate objects to not enforce them to be public.
15 years ago
Thomas Risberg
8af071664e
prepared for snapshot builds
15 years ago
Thomas Risberg
22243d05ce
preparing for 1.0.0.M5
15 years ago
Thomas Risberg
71ea5ddaed
pruned unused cross-store prototype classes; changed package names
15 years ago
Oliver Gierke
b32e444749
Updated changelog.
15 years ago
Oliver Gierke
6672a206c7
DATAJPA-19 - Moved extension classes into Spring Data Commons Core.
15 years ago
Oliver Gierke
a2dc608ab4
Forgot to push deleting MappingConfigurationBuilder and BasicMappingConfigurationBuilder.
15 years ago
Oliver Gierke
ecdda346b1
Extended AbstractRepositoryConfigDefinitionParser.postProcessBeanDefinition(…) to take BeanDefinitionRegistry as well.
15 years ago
Oliver Gierke
b514e35105
Removed some compiler warnings and unnecessary imports.
15 years ago
Oliver Gierke
b7c81e3a4e
Cleanup of meta-model API.
...
Moved MappingConfigurationBuilder functionality into BasicMappingContext. Got rid of obsolete methods in MappingContext, PersistentEntity and PersistentProperty to minimize the API exposed.
15 years ago
Oliver Gierke
06463a0b58
Tweaks to BasicMappingContext.
...
Re-added a initialEntitySet property to BasicMappingContext and let trigger adding those to the context in afterPropertiesSet(). Moved createPersistentEntity and createPersistentProperty methods from MappingConfigurationBuilder into BasicMappingContext (could probably be done for all of those methods still in MCB).
Opened up getPersistentEntites() in MappingContext interface to return Collection<? extends PersistentEntity> to allow easy overriding in subclasses with more specific types.
15 years ago
Jon Brisbin
f6818dd13f
Fix for edge case where constructor parameter names aren't available causing the mapping framework to barf.
15 years ago
Oliver Gierke
33efa23492
DATACMNS-22 - Added Spring release repository as plugin repository.
...
Needed to lookup AWS build extension.
15 years ago
Jon Brisbin
c51d5b5441
Added TypeInformation to the MappingContextEvent
15 years ago
Burt Beckwith
cfcb4cecd0
removed @Override on interface methods that will cause problems in Java 5
15 years ago
Oliver Gierke
561cdbe4dc
Cleanups in ClassTypeInformation as well as BasicMappingContext.
...
Removed obsolete constructor arguments in ClassTypeInformation. SKip static fields in BasicMappingContext.addPersistentEntity(…).
15 years ago
Oliver Gierke
f00bfb82bd
Fix to correctly determine component type for non-generic arrays.
15 years ago
Oliver Gierke
688ae81b27
Fixed failing test.
15 years ago
Oliver Gierke
a93880a60e
Added customSimpleTypes to BasicMappingContext.
...
The added custom simple types will be considered in the decision whether to recursively add PersistentEntities. This does not feel quite right for now as for a complete setup we now have to register converters in the MappingMongoConverter *and* add the custom type to the list here. Open for discussion.
15 years ago
Oliver Gierke
ab59c57577
Tweaked getComponentType() and added getMapValueType() to PersistentProperty.
...
Changed implementation of getComponentType() to use the TypeInformation instance backing the BasicPersistentProperty.
15 years ago
Oliver Gierke
a07a2cc760
Added isEntity() method to PersistentProperty.
15 years ago
Oliver Gierke
7a2f25190a
Extended TypeInformation classes to support generic arrays as well.
...
Additionally added support for resolving component types (for collections and map keys) as well as map value types.
15 years ago
Oliver Gierke
8ab42a266c
Some tweaks to handling collections and enums.
...
Fixed isAssignableFrom(…) usage in BasicPersistentProperty to correctly detect collections and maps. Let MappingBeanHelper treat enums as simple types as well.
15 years ago
Jon Brisbin
bc6e9d8f54
Added the ability to use the Spring 3.0 ApplicationEvent mechanism for event handling internally within the mapping framework.
15 years ago
Thomas Risberg
626d52e2c0
prepared for snapshot builds
15 years ago
Thomas Risberg
206e73d1ef
preparing for M4
15 years ago