Commit Graph

45 Commits

Author SHA1 Message Date
Thomas Risberg
2222e82f25 updated changelog for 1.2.0.M1 2011-09-01 20:09:14 -04:00
Phil Webb
2f5c4cd3d7 DATAJPA-88 - Minor improvements to documentation. 2011-08-16 17:48:32 +02:00
trisberg
4f90182607 updated changelog for 1.1.0.RELEASE 2011-07-21 11:59:42 -04:00
Oliver Gierke
4a61908561 Updated changelog for 1.1.0.RC1 release. 2011-07-19 17:37:43 +02:00
Oliver Gierke
6ca606ab5c Polished reference documentation. 2011-07-18 21:05:20 +02:00
Oliver Gierke
c470ac0c6b Fixed duplicate section id. 2011-06-23 10:56:59 +02:00
Oliver Gierke
980cadfc0c Fixed reference documentation section ids. 2011-06-23 10:29:07 +02:00
Thomas Risberg
9302ec49e3 updated changelog 2011-06-21 16:16:12 -04:00
Thomas Risberg
e7e51333a0 updated changelog 2011-06-02 08:45:01 -04:00
Oliver Gierke
0ea1921a96 Updated reference documentation regarding repository declaration.
Polished Javadoc of Repository to mention possibility of selectively exposing CRUD methods.
2011-05-24 12:33:18 +02:00
Oliver Gierke
369af0a12a Updated changelog. 2011-05-11 18:48:28 +02:00
Oliver Gierke
54ada02ae8 DATADOC-109 - Refactored mapping subsystem.
Refactored BasicMappingContext into AbstractMappingContext that now only contains the general algorithm to build PersistentEntity and PersistentProperty instances. The algorithm delegates to two template methods that are responsible for instantiating concrete implementations of those classes.

Extracted an AnnotationBasedPersistentProperty that now contains all annotation references so that AbstractPersistentEntity does not take annotations into account in the first places. BasicPersistentEntity now does PreferredConstructor lookup as well.

Removed unnecessary methods from MappingCOntext and PersistentEntity interface. Added a verify() method to BasicPersistentEntity that AbstractMappingContext calls to verify validity of the entity. This will be used by the Mongo module for example to make sure @Document annotated entities have an @Id property.

Refactored getValueAnnotation() to getSpelExpression() to not imply we're using annotations in every case.

Added shortcut in TypeDiscoverer.createInfo(…) to prevent endless loop in case a type has a field of it's very same type.

TypeDiscoverer now returns the plain compound type for arrays now, which means you get String for String[], String[][] and so on. Opened up signature of AbstractMappingContext.setInitialEntitySet(…) to allow effortless programatic invocation.
2011-04-28 21:34:08 +02:00
Oliver Gierke
b6845e7310 DATACMNS-32 - Refactored Querydsl support code from JPA and Mongo module into core. 2011-04-20 20:38:20 +02:00
Mark Pollack
c2b8a1cf1a update changelog.txt to include information for M7, RC1 and 1.0.0 GA release 2011-04-20 11:47:59 -04:00
Oliver Gierke
3f22104c7c DATACMNS-30 - Made implementations of Page, Pageable and Sort serializable. 2011-04-20 17:18:57 +02:00
Thomas Risberg
06656ae062 preparing for 1.0.0.M6 2011-03-25 16:46:33 -04:00
Thomas Risberg
22243d05ce preparing for 1.0.0.M5 2011-03-23 19:44:27 -04:00
Oliver Gierke
b32e444749 Updated changelog. 2011-03-23 10:05:42 +01:00
Thomas Risberg
626d52e2c0 prepared for snapshot builds 2011-03-15 22:34:46 -04:00
Thomas Risberg
206e73d1ef preparing for M4 2011-03-15 22:28:27 -04:00
Oliver Gierke
83f8306656 DATACMNS-19 - Refactored return type for Repository.findAll(…) and according methods to return Iterable instead of List. 2011-03-11 18:58:48 +01:00
Oliver Gierke
d60f53e8f3 Added another change to changelog. 2011-03-11 18:32:39 +01:00
Oliver Gierke
7aeb6c3f5c Added recent changes to the changelog. 2011-03-11 18:27:49 +01:00
Oliver Gierke
cae2961275 DATACMNS-19 - Fixed PersistableEntityMetadata.
Added generics to PersistableEntityMetadata and let it being handed the actual domain class to return.
2011-03-02 09:03:25 +01:00
Oliver Gierke
20443bb4b6 DATACMNS-17 - Introduced metamodel for entities and repositories.
Unified IsNewAware and IdAware to EntityMetadata. Refactored base repository support to use this abstraction. Introduced RepositoryMetadata and DefaultRepositoryMetadata implementation to capture all the additional information that we need around a repository interface. Adapted factory API to use this abstraction. Opened up method parameter and return types to prepare enabling the usage of the infrastructure for interfaces that do not extend Repository interface.
2011-02-25 13:53:45 +01:00
Oliver Gierke
0721c7921c DATACMNS-16 - Added 'NotIn' keyword. 2011-02-23 10:23:09 +01:00
Oliver Gierke
aeee6935f5 DATACMNS-15 - Added support to discover Distinct keyword.
Query method names now support Distinct in method name prefixes. Beyond that I laxed the prefix constraints a little so that it can potentially contain anything before a 'By' separator:

- findByLastname -> simply query
- findUsersByLastname -> simple query
- findUsersDistinctByFirstname -> distinct query
- findDistinctUsersByFirstname -> distinct query
- findDistinctByLastname -> distinct query
2011-02-21 19:07:22 +01:00
Thomas Risberg
f92aa4a2d8 preparing for M3 2011-02-09 16:44:15 -05:00
Oliver Gierke
f6995d2852 Fixed language declaration of program listing elements. 2011-02-09 19:32:56 +01:00
Oliver Gierke
bd89c60715 Minor fixes to common reference documentation.
- fixed some section ids in repository configuration
- added namespace reference file
2011-02-09 16:46:32 +01:00
Oliver Gierke
a832cd1e47 Added documentation for PagingAndSortingRepository. 2011-02-03 15:03:36 +00:00
Oliver Gierke
175ef77574 Prefixed section ids with repositories. to avoid overlaps with other ids. 2011-02-03 13:52:13 +00:00
Oliver Gierke
14fd81d561 Added general repository documentation and included into the main documentation source file. 2011-02-02 19:36:22 +00:00
Thomas Risberg
3714f0aa01 preparing for M2 2011-01-31 15:07:54 -05:00
Thomas Risberg
bacc9451ad preparing for M1 2010-12-23 17:12:51 -05:00
Thomas Risberg
e87314bd66 updated license and notice files 2010-12-23 14:26:09 -05:00
Thomas Risberg
0f7984a331 Switched to use new project layout; updated build; moved files around 2010-10-07 12:14:39 -04:00
Thomas Risberg
06b5ceff15 updated to use spring-data-parent; removed unused experimental classes 2010-09-09 16:39:33 -04:00
Thomas Risberg
7700d501e5 moved persistence classes to cross-store project 2010-08-15 20:26:02 -04:00
trisberg
4e9fccaa82 moving to datastore-graph project due to AspectJ compiler issue 2010-07-28 15:57:03 -04:00
trisberg
de5276c3f2 needed for graph tests 2010-07-27 20:51:45 -04:00
trisberg
fb2c81efdd first part of moving over cross-store classes/aspect; added aspectj compile support 2010-07-27 18:00:20 -04:00
trisberg
be8817f443 adding beginnings of some common abstractions 2010-07-19 15:40:39 -04:00
trisberg
7feb0a7c83 fixed typo in name 2010-06-10 21:01:21 -04:00
trisberg
eb866cd48c the beginning of the Sping Data Common sub-project 2010-06-10 16:50:23 -04:00