Commit Graph

72 Commits

Author SHA1 Message Date
Oliver Gierke
d0e0c8cf5f DATACMNS-225 - Updated Querydsl Maven plugin to 1.0.4. 2012-09-03 13:14:56 +02:00
Spring Buildmaster
ed7beffbde DATACMNS-217 - Prepare next development iteration. 2012-08-23 10:25:19 -07:00
Spring Buildmaster
11da3c3dab DATACMNS-217 - Release version 1.4.0.RC1. 2012-08-23 10:25:15 -07:00
Oliver Gierke
f4a5edcf44 DATACMNS-213 - Declaring all compile time dependencies locally.
There have been a few dependencies which we depended on on compile time but which were pulled into the classpath transitively. Declaring these dependencies now explicitly. Keeping them optional to allow minimal footprint.
2012-08-13 14:50:03 +02:00
Spring Buildmaster
d66d166e8b DATACMNS-191 - Prepare next development iteration. 2012-07-23 09:51:32 -07:00
Spring Buildmaster
94d042a573 DATACMNS-191 - Release version 1.4.0.M1. 2012-07-23 09:51:28 -07:00
Oliver Gierke
c64f01414f DATACMNS-164 - Added support for XML/JSON marshaling of Page, Pageable and Sort.
Added XmlTypeAdapter implementations that convert the PageImpl, PageRequest and Sort value objects into a JAXB marshalable object.
2012-07-23 17:27:17 +02:00
Oliver Gierke
d441d95197 DATACMNS-58 - Added support for repository populators.
Added RepositoryPopulator abstraction and implementations based on Spring OXM Unmarshallers as well as Jackson. This allows arbitrary repositories being populated with data pulled from XML / JSON, no matter what store they are actually backed. The populator will eventually populate the repositories held in a Repositories instance. It can be used like this:

Repositories repositories = new Repositories(applicationContext);
ResourceReader reader = new JacksonResourceReader();

ResourceReaderRepositoryPopulator populator = new ResourceReaderRepositoryPopulator(reader);
populator.setResourceLocation("classpath*:data.json");
populator.populate(repositories);

The ResourceReader defines what technology shall be used to read the data from the file into objects. The ResourceReaderRepositoryPopulator uses the reader and can either get a set of Resource instances configured or is able to lookup resources using a location string. The actual Repositories instance captures all CrudRepository instances contained inside an ApplicationContext.

The populators can also be used from within XML configuration though the repository namespace elements shown below:

<repository:jackson-populator location="classpath:org/springframework/data/repository/init/data.json" />
		
<repository:unmarshaller-populator location="classpath:org/springframework/data/repository/init/data.xml" unmarshaller-ref="unmarshaller" />

Updated reference documentation accordingly.
2012-06-21 20:03:55 +02:00
Oliver Gierke
31926a6299 DATACMNS-178 - Fixed dependency scope for JUnit.
Reduced scope of junit-dep dependency from compile to test.
2012-05-29 12:27:47 +02:00
Oliver Gierke
169bdfefaa DATACMNS-173 - Upgraded Maven Compiler and Surefire plugins.
Upgraded Surefire plugin to 2.12. Upgraded JUnit dependency to 4.10. Upgraded compiler plugin to 2.4.
2012-05-21 14:06:50 +02:00
Spring Buildmaster
b1d7e8927c DATACMNS-149 - Next development version. 2012-05-16 19:28:23 +02:00
Spring Buildmaster
9f48059bb5 DATACMNS-149 - Release version 1.3.0.RELEASE. 2012-05-16 10:15:47 -07:00
Oliver Gierke
b8c2e625b3 Polished pom.xml.
Removed obsolete stuff as we're now deploying to Artifactory.
2012-05-07 09:46:26 +02:00
Spring Buildmaster
f67f9eb4c9 Prepare 1.3.0.BUILD-SNAPSHOT development. 2012-05-02 12:01:50 -07:00
Spring Buildmaster
a1a60f39f4 [artifactory-release] Release version 1.3.0.BUILD 2012-05-02 12:01:48 -07:00
Oliver Gierke
6a461c0a51 DATACMNS-161 - Upgrade to Querydsl 2.5.0.
Polished pom.xml a little.
2012-04-27 09:39:16 +02:00
Spring Buildmaster
91eef0e8a5 DATACMNS-148 - Next development version. 2012-04-16 11:55:00 +02:00
Spring Buildmaster
703b285962 Release version 1.3.0.RC1. 2012-04-16 11:54:50 +02:00
Spring Buildmaster
3903fa7281 Next development version. 2012-02-07 11:23:22 -08:00
Spring Buildmaster
257d8af077 Release version 1.3.0.RELEASE. 2012-02-07 11:23:19 -08:00
Oliver Gierke
4fcb4a7649 DATACMNS-131 - Polished pom.xml. 2012-02-03 12:07:41 +01:00
Oliver Gierke
8c360af381 DATACMNS-118 - Prepare 1.3.0 development branch. 2011-12-22 20:24:42 +01:00
Oliver Gierke
5213eace28 DATACMNS-118 - Preparations for 1.2.0 release.
Updated changelog and version. Removed milestone repository and use Artifactory repository now.
2011-12-22 20:17:11 +01:00
Oliver Gierke
89410efb7a DATACMNS-112, DATACMNS-109 - Upgraded to Querydsl 2.3.0. 2011-12-19 18:03:08 +01:00
Dirk Mahler
eebc822dff DATACMNS-110 - Added support for CDI integration for repositories.
Added custom CDI extension to use repositories in a CDI environment. Base class picks up all Spring Data repository interfaces and allows working with qualifiers to bind beans to be created to qualifiers.
2011-12-19 16:29:46 +01:00
Mark Pollack
a0c91672ae prepare for Spring Data Commons 1.2.0.BUILD-SNAPSHOT 2011-12-06 17:37:12 -05:00
Mark Pollack
a15186013f prepare for Spring Data Commons 1.2.0.RC1 2011-12-06 17:07:08 -05:00
Thomas Risberg
d56e9a0dc0 prepared for 1.2.0 snapshot builds 2011-10-21 16:19:28 -04:00
Thomas Risberg
c3e04eefea prepared for Spring Data Commons 1.2.0.M2 release 2011-10-21 16:16:15 -04:00
Thomas Risberg
2192c4684e prepared for 1.2.0 snapshot builds 2011-09-01 20:21:45 -04:00
Thomas Risberg
04f4e9f2b8 prepared for Spring Data Commons 1.2.0.M1 release 2011-09-01 20:17:20 -04:00
trisberg
0232fdacbf prepared for 1.2.0 snapshot builds 2011-07-21 13:13:00 -04:00
trisberg
3c3012db0d prepared for Spring Data Commons 1.1.0.RELEASE 2011-07-21 11:46:48 -04:00
Thomas Risberg
1c323b4800 changed dependency on "querydsl-mongodb" with "querydsl-core" 2011-07-21 11:30:28 -04:00
Thomas Risberg
aa3c29c5a3 prepared for 1.1.0 snapshot builds 2011-07-19 11:50:52 -04:00
Thomas Risberg
1d52b05507 prepared for Spring Data Commons 1.1.0.RC1 release 2011-07-19 11:48:40 -04:00
Oliver Gierke
f8427258d3 DATACMNS-53 - Upgrade to Querydsl 2.2.0.
Updated Mysema APT plugin to 1.0.2. Added Mysema repository to parent pom to correctly find new versions.
2011-07-19 17:31:37 +02:00
Oliver Gierke
b225930a07 DATACMNS-53 - Updated Querydsl to 2.2.0. 2011-07-19 12:50:15 +02:00
Oliver Gierke
d6ab8e37b3 Polished test dependencies.
Upgraded to Hamcrest 1.2.1. Removed obsolete Log4J transitive dependency exclusions as 1.2.16 does not include these dependencies anymore. Using Mockito and JUnit dependencies not containing Hamcrest types.
2011-07-13 20:22:00 +02:00
Thomas Risberg
687a2ed0b5 prepared for 1.1.0 snapshot builds 2011-06-21 16:23:29 -04:00
Thomas Risberg
c3406a7ebe prepared for Spring Data Commons 1.1.0.M2 release 2011-06-21 16:19:58 -04:00
Thomas Risberg
dfca1c61a2 prepared for 1.1.0 snapshot builds 2011-06-02 08:58:14 -04:00
Thomas Risberg
dff80c6f3d prepared for Spring Data Commons 1.1.0.M1 release 2011-06-02 08:54:44 -04:00
Oliver Gierke
d8c5bca4bd DATACMNS-36 - Improved transaction handling configuration support.
Added custom TransactionAttributeSource that favors interface transaction configuration over the implementation configuration. This allows us configuring repository implementations with @Transactional but allow overriding this configuration at the user's repository level as well.
2011-05-12 12:13:49 +02:00
Jon Brisbin
e67e35ac8d Reformatting source code to use tabs instead of spaces. 2011-05-10 10:50:32 -05:00
Oliver Gierke
7590f55547 DATADOC-115 - Upgraded to Querydsl 2.2.0-beta4.
Unfortunately the beta version numbers of Querydsl are not OSGi compatible so that we have to maintain the version number in template.mf manually. Updated version of APT Maven plugin to 1.0.1.
2011-05-03 11:49:53 +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
trisberg
3aed2e87fe prepared for 1.1.0 snapshot builds 2011-04-18 17:52:08 -04:00
trisberg
bc130ab9fd prepared for Spring Data Commons 1.0.0.RELEASE 2011-04-18 17:49:12 -04:00
Thomas Risberg
ecf7cd1a08 prepared for snapshot builds 2011-04-08 17:55:02 -04:00