Commit Graph

39 Commits

Author SHA1 Message Date
Mark Paluch
46eb86e184 #219 - Prepare 2.3 M2 (Neumann). 2020-01-17 09:38:43 +01:00
Mark Paluch
61dcc5747d #219 - Updated changelog. 2020-01-17 09:38:41 +01:00
Mark Paluch
0a95b4fe0f #205 - Prepare 2.3 M1 (Neumann). 2020-01-16 16:05:03 +01:00
Mark Paluch
489c11f22b #205 - Updated changelog. 2020-01-16 16:05:01 +01:00
Mark Paluch
f35ef5614e #209 - Enable JDK 11+ builds. 2020-01-09 10:19:04 -06:00
Mark Paluch
a03fa3879d #216 - Update copyright years to 2020. 2020-01-07 09:10:11 +01:00
Spring Operator
c85e6ccea8 #172 - URL cleanups.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 19 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Original Pull Request: #179
2019-03-22 11:29:34 +01:00
Mark Paluch
e6338ceb80 #156 - Update copyright years to 2019. 2019-01-02 14:35:29 +01:00
Mark Paluch
5528e822e0 #154 - Simplify reference documentation setup. 2018-12-10 10:09:53 +01:00
Jens Schauder
5637994be3 #146 - Polishing.
Unified test comments and tried to improve test names.

Original pull request: #147.
2018-11-13 16:21:06 +01:00
Jens Schauder
901a8a5519 #146 - Added tests and simplified condition.
Added tests to verify behaviour.
In order to improve testability querying was extracted into package private method.

The condition avoiding the IN-queries with empty parameter lists was simplified and made less lenient.

Original pull request: #147.
2018-11-13 16:18:50 +01:00
Julien Millau
1ecec0d713 #146 - Avoid executing IN-query with empty parameter list.
These queries are illegal in Postgres and possible other databases.

Original pull request: #147.
2018-11-13 16:17:10 +01:00
Jens Schauder
14e4386205 #116 - Implemented RevisionMetadata.getRevisionInstant().
Implemented the missing new method RevisionMetadata.getRevisionInstant() by extracting part of ….getRevisionDate(). This makes DefaultRevisionMetadata compile again.

Decided against a default implementation on the interface side since it would just hide the fact that the interface changed.

Original pull request: #118.
2018-02-20 09:10:36 +01:00
Jens Schauder
ae443c2d4d #112 - Changed assumed time zone to system default.
This matches the behavior of the DateTime default constructor used in 1.1.x.
2018-02-01 11:56:55 +01:00
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