Commit Graph

25 Commits

Author SHA1 Message Date
Jens Schauder
2b0471461a #30 - Polishing.
Migrated test to AssertJ.

Original pull request: #45.
2018-02-01 11:18:10 +01:00
Jens Schauder
bdb539d800 #30 - Added Querydsl support based on fragments.
EnversRevisionRepositoryImpl is now just a fragment and doesn’t inherit any implementation.

Original pull requests: #45.
2018-02-01 11:18:03 +01:00
Dmytro Iaroslavskyi
9446be0b5f #30 - Added support for Querydsl's QueryDslPredicateExecutor.
Original pull request PR #45.
2018-02-01 11:11:30 +01:00
Jens Schauder
a4cdb30abb #112 - Fixed DefaultRevisionMetadata.getRevisionDate().
Assuming UTC time zone for converting the long into a LocalDateTime.

Original pull request: #114.
2018-02-01 11:08:09 +01:00
Benedikt Ritter
901bcba65b #112 - Test demonstrating bug in DefaultRevisionMetadata.getRevisionDate().
Test showing that the current code does not work.

Original pull request: #113.
2018-02-01 11:07:30 +01:00
Jens Schauder
e6d064255f #21 - Polishing.
Removed superfluous property from pom.
Removed includeDeletion parameter since it is always set to true.
Add toString for Country for easier debugging.
2018-01-03 13:22:37 +01:00
Jens Schauder
215b9540a4 #21 - removed intermediate step of creating a Pair.
Avoids an exception, since Pair can not have a null values.
2018-01-03 13:14:11 +01:00
Nikola Petrovic
14ef7aa6de #21 - added ability to searching deleted entities.
Original PR: #27
2018-01-03 13:12:03 +01:00
Oliver Gierke
92934b99b4 #107 - Polishing.
Avoid overriding deprecated method and rather do so with the recommended alternative in RevisionRepositoryFactory. Java 8 polishing in RevisionRepositoryFactory's constructor.
2017-11-29 16:17:17 +01:00
Oliver Gierke
ded1481023 #107 - Adapt to API changes in JpaRepositoryFactory.
We now override JpaRepositoryFactory.getTargetRepository(RepositoryInformation, EntityManager).
2017-11-29 16:17:17 +01:00
Oliver Gierke
ddc4894053 #83 - Adapt to API changes in repository interfaces. 2017-05-03 18:26:51 +02:00
Oliver Gierke
1383d815e6 #76 - Adapt to API changes in Spring Data Commons. 2017-03-25 12:39:10 +01:00
Oliver Gierke
aa732d2752 #66 - Adapt API in EnversRepositoryFactoryBean.
Related tickets: DATACMNS-891, DATACMNS-960.
2016-12-15 22:01:28 +01:00
Oliver Gierke
515bf2a0f5 #58 - Fixed RepositoryIntegrationTests.
Instead of asserting concrete revision numbers we now rather just compare those.

Related ticket: #55.
2016-09-20 01:17:54 +02:00
Oliver Gierke
5c404c26fc #55 - Added support for changing the sort direction when accessing revisions.
We now make use of the RevisionSort type introduced in Spring Data Commons [0] to determine the order of the revisions to be read.

[0] https://jira.spring.io/browse/DATACMNS-888
2016-09-01 19:59:57 +02:00
Oliver Gierke
4262bb777c #43 - Prepared project for inclusion into Spring Data release train.
Moved to Spring Data parent build.
2015-12-20 20:04:49 +01:00
Michael Igler
e8776cadf1 #40 - Upgraded to Gosling release train. 2015-10-29 16:54:54 +01:00
Oliver Gierke
c14a3c1116 #31 - Polishing.
Tweaked implementation to not only lookup revision but also the entity in the given revision. Additional formatting and metadata polishing.
2015-05-14 18:18:18 +02:00
Michael Igler
6f076b5609 #31 - Implemented method returning revision of entity for given revision-number. 2015-05-14 18:06:11 +02:00
Oliver Gierke
86fc44cf7e #6 - Prepare 0.2.0.RELEASE.
Updated to Spring 3.2.10, Spring Data JPA 1.6.1 and Slf4j 1.7.7. Updated build plugins.
2014-07-18 10:19:53 +02:00
José Manuel Portero
19af936640 #14, #15 - Upgraded to Spring Data JPA 1.6.0.
Adapted to a signature change in Spring Data JPA. Improved test configuration and removed XML configuration completely. Upgraded to the latest Spring 3.2.x version.
2014-06-04 17:44:19 +02:00
Philipp Hügelmeyer
26a51e5210 #1 - Avoid lookup of entities if no revision numbers found.
We now eagerly return an empty Revisions instance in case we don't
find revision numbers for an entity with a given ID. Not doing so 
caused issues with database vendors as they might expect at least a 
single revision number.
2012-06-06 15:14:51 +02:00
Oliver Gierke
a1bf61e754 Polished pom.xml.
Upgraded to Spring Data JPA 1.1.0 GA release. Adapted to change in Spring Data Commons 1.3.0 GA release API. Reduced H2 and Spring Test context framework dependency to test scope. Reduced CGLib dependency to runtime scope. Remove obsolete WAR plugin dependency and repository declarations.
2012-05-20 19:03:46 +02:00
Oliver Gierke
bb37e7b124 Polished JavaDoc. 2012-03-21 15:49:31 +01:00
Oliver Gierke
5cf6501592 Initial draft of Envers support for Spring Data JPA.
Added an implementation of the Spring Data Commons historiography API based on Hibernate Envers. The implementation is a contribution of @hygl to a large degree.
2012-03-21 15:04:22 +01:00