Commit Graph

214 Commits

Author SHA1 Message Date
Mark Paluch
d1d5f7fe09 #200 - Upgrade to Ingalls M1. 2016-07-27 15:09:06 +02:00
Oliver Gierke
15e8ba31cc #201 - Added example for constructor expression in JPA projections. 2016-07-27 15:08:03 +02:00
Lucas Pleß
bee8a81118 #199 - Added missing messages and fixed a JavaDoc error in web example. 2016-07-20 13:48:48 +02:00
Oliver Gierke
9ee13be9b5 #197 - Upgraded to Spring Boot 1.4 RC1.
Tweaked the output folder for Querydsl type generation to avoid running into a bug in the Maven compiler plugin 3.5.1 [0].

Fixed an issue in a sample script used to demonstrate MongoDB script execution as the new JavaScript engine seems to be more strict.

Switched to the MongoDB starter and excluded the legacy MongoDB Java driver from projects using Querydsl to consistently make use of the current driver only.

[0] https://issues.apache.org/jira/browse/MCOMPILER-271
2016-07-15 13:05:56 +02:00
Oliver Gierke
5bb1b8b77c #195 - Make JPA examples work with Hibernate 5.2.
Upgrade to Hibernate 5.2.1 and Spring Framework 4.3 to pull in the necessary tweaks to let the latter work with the former.

Excluded hibernate-entitymanager and refer to hibernate-core instead as the 5.2 release has merged the artifacts and the former is not available anymore.

The project showing the stored procedure support still needs to stay on Hibernate 5.0.7 because the stored procedure support on HSQLDB has been broken since 5.0.8. The original issue [0] has been fixed but running the module on 5.2.1 now runs into a NullPointerException from AbstractProducedQuery [1].

[0] https://hibernate.atlassian.net/browse/HHH-10515
[1] https://hibernate.atlassian.net/browse/HHH-10915
2016-07-01 12:33:01 +02:00
Oliver Gierke
812eb89916 #196 - Upgraded to Hopper SR2. 2016-07-01 12:10:36 +02:00
Oliver Gierke
6684c8c69b #190 - More simplifications for Spring Boot 1.4 M3.
Replaced all occurrences of @SpringApplicationConfiguration with @SpringBootTest. Using SpringRunner instead of @SpringJUnit4ClassRunner now.
2016-06-10 21:26:46 +02:00
Oliver Gierke
24ca298de2 #193 - Added examples for using projections with pagination in JPA and MongoDB.
Requires an upgrade to snapshots as the JPA implementation is broken in Hopper SR1 but will be fixed in SR2 (Boot 1.4 RC1). Switched to use @SpringBootTest in test cases.
2016-06-02 12:55:15 +02:00
Oliver Gierke
12628b6a3f #190 - Upgraded to Spring Boot 1.4 M3. 2016-05-18 07:33:04 +02:00
Oliver Gierke
2314c6e726 #186 - Prepare upgrade to Spring Boot 1.4 M2 and Hibernate 5.
Upgraded to Spring Boot 1.4 M2 and thus Hibernate 5.1 transitively.
Switched to H2 as database for all examples using JPA by accident as the
invalid error logging for HSQLDB schema creation got worse in 5.1 (see
[0]). The JPA examples themselves have to stay on HSQLDB as H2 doesn't
support stored procedures. The stored procedures example in turn has to
be downgraded to 5.0.7 as all following versions currently break stored
procedure execution support [1]. Reworked the JPA auditing example as
5.1 breaks on generic types used in support types like AbstractAuditable
[2].

Tweaked content type assertions in some REST related test cases as
Spring 4.3 returns an encoding alongside the media type.

[0] https://hibernate.atlassian.net/browse/HHH-10605
[1] https://hibernate.atlassian.net/browse/HHH-10515
[2] https://hibernate.atlassian.net/browse/HHH-10514
2016-04-13 18:11:09 +02:00
Oliver Gierke
763710ddc9 #185 - Upgraded to Querydsl 4.1. 2016-04-11 19:01:58 +02:00
Oliver Gierke
5247a97203 #184 - Re-enabled Spring Data Elasticsearch example. 2016-04-07 11:29:17 +02:00
Oliver Gierke
2c4a6c4e43 #183 - Upgrade to Hopper SR1. 2016-04-06 23:22:29 +02:00
Oliver Gierke
cb50af3595 #181 - Upgraded to Spring Data release train Hopper. 2016-04-06 17:44:05 +02:00
Oliver Gierke
4cc558e42e #179 - Fixed build for multiple-datasources module after Spring Boot 1.4 upgrade.
We now explicitly disable DevToolsDataSourceAutoConfiguration as it currently expects exactly one DataSource being present.

Switched to Spring's @Transactional instead of the javax.transactional one.
2016-04-05 17:50:53 +02:00
Christoph Strobl
b82460f33c #158 - Remove workaround for Redis cluster configuration.
SpringBoot 1.4M1 ships with auto configuration for spring.redis.cluster so we removed the work around using ConfigurationProperties.
2016-04-05 17:39:59 +02:00
Oliver Gierke
b075ca6358 #177 - Polished domain model.
Inlined Address type into Store. Moved to @Value and removed code that got obsolete with that.

Removed custom WebConfig that's not needed anymore with Spring Boot.
2016-04-05 17:38:33 +02:00
Oliver Gierke
26a453af56 #175 - Upgraded to Spring Data Thymeleaf dialect 2.1.1. 2016-03-26 21:56:27 +01:00
Oliver Gierke
ad854bc19d #174 - Applied default sorting to controller in Querydsl web sample. 2016-03-25 13:11:38 +01:00
Oliver Gierke
84bfe86ecc #173 - Switched to embedded MongoDB for Querydsl web example. 2016-03-25 13:10:26 +01:00
Oliver Gierke
75d25de1e6 #171 - Switched to Thymeleaf Spring Data dialect for pagination in views.
Added dependency and bean definition for the SpringDataDialect. Templates now use three different elements of the Thymeleaf Spring Data support:

- Pagination information (pagination summary)
- The pagination links including first / previous and next / last links
- Pagination links to navigate through the pages
2016-03-25 13:09:41 +01:00
Oliver Gierke
91c06febe4 #172 - Added Spring Boot dev tools to all projects. 2016-03-25 13:04:03 +01:00
Mark Paluch
6d012f4aa2 #164 - Polishing.
Replaced deprecated @Builder annotation with @Builder from the main lombok package. Remove Groovy libraries as Examples do not contain scripting.

Original pull request: #165.
2016-03-21 11:32:09 +01:00
Christoph Strobl
09697b84f2 #164 - Fix Elasticsearch example
Remove Boot Autoconfiguration, in-memory index and facets.
GeoPoint instead of String for location.

Original pull request: #165.
2016-03-21 11:31:56 +01:00
Mark Paluch
fc5da90453 #160 - Add MongoDB java8 and Spring Security examples to the frontpage documentation. 2016-03-18 16:28:47 +01:00
Mark Paluch
f4e874e601 #160 - Update docs for Redis cluster.
Mention Redis cluster example in the docs. Remove cluster wording from the sentinel example.
2016-03-18 16:28:47 +01:00
Mark Paluch
dc50706c27 #160 - Add excerpts for Query by Example. 2016-03-18 16:27:59 +01:00
Oliver Gierke
f8bfe5c79e #163 - Upgraded to Hopper RC1.
Removed all previous references to snpahosts. Removed explicit version declaration of Lombok as Boot sets that for us in 1.4.

Upgraded Elasticsearch dependency to 2.2 and uncommented the actual sample module as it needs to be updated due to API changes in Elasticsearch and Spring Data Elasticsearch in turn.

Adapt to API changes in entity lookup configuration for Spring Data REST.

Tweaked Neo4j build setup by using the dedicated embedded driver JAR.
2016-03-18 16:26:11 +01:00
Oliver Gierke
786ce2d39a #149 - Polishing.
Renamed repository folder to repositories. Tweaked package name to reflect module name. Polished formatting in readme. Switched to Spring Boot version property for 1.7 RC1 upgrade.

Original pull request: #162.
2016-03-18 15:42:10 +01:00
Christoph Strobl
5a25e80bbf #149 - Add Redis repository support sample.
Bumped Spring Data Redis version to 1.7 RC1. Added JUnit Rule for Embedded Redis Server.

Original pull request: #162.
2016-03-18 15:38:42 +01:00
Oliver Gierke
1f94bb12f1 #153 - Polishing.
Simplified domain model using Lombok. Moved configuration classes into test source folder.

Original pull request: #154.
2016-03-17 19:01:27 +01:00
Mark Paluch
beabdf8a79 #153 - Add examples for Query by Example functionality with JPA and MongoDB.
Original pull request: #154.
2016-03-17 19:01:23 +01:00
Franziska Sauerwein
1fe9aaeefa #157 - Fix Typo in readme.
Two -> To
2016-03-04 07:50:26 +01:00
Oliver Gierke
99d1597756 #155 - Upgraded to Spring Boot 1.4 M1.
Switched to renamed Redis starter POM.

Removed invalid @Transactional annotation from projections example in MongoDB.

Added Mark Paluch as contributor in the root POM.
2016-02-27 12:30:31 +01:00
Oliver Gierke
bb833a27b6 #151 - Upgraded to Hopper M1. 2016-02-12 15:47:45 +01:00
Oliver Gierke
a0da2925cc #146 - Polishing. 2016-02-12 14:43:07 +01:00
Christoph Strobl
dfc1bf0390 #146 - Add example to demonstrate Redis Cluster support.
Example demonstrating the basic usage of Spring Data Redis in a clustered environment using Jedis.
2016-02-12 14:42:44 +01:00
Oliver Gierke
9cb44b3166 #81 - Samples for new projection support for JPA and MongoDB. 2016-02-12 14:37:52 +01:00
Oliver Gierke
a872e57ed1 #151 - Fixed Neo4j examples for Hopper. 2016-02-12 14:36:54 +01:00
Oliver Gierke
961bd1a284 #151 - Tweaked Querydsl web examples to use Querydsl 4. 2016-02-12 14:36:54 +01:00
Oliver Gierke
6ccc59004b #151 - Updated Solr examples to use Solr 5. 2016-02-12 14:36:53 +01:00
Oliver Gierke
500359015c #151 - Tweaked Neo4j example dependencies. 2016-02-12 14:36:53 +01:00
Christoph Strobl
f593e31565 #151 - Override managed version to support Solr 5.x.
Pull in matching Solr 5 version.
2016-02-12 14:36:52 +01:00
Oliver Gierke
62b2d644cc Updated dependencies and codebase for Querydsl 4. 2016-02-12 14:36:49 +01:00
Oliver Gierke
35ba3bb5e1 #147 - Upgraded to Spring Boot 1.3.2. 2016-02-12 14:35:32 +01:00
Oliver Gierke
fe6e2172cd #144 - Make use of the dedicated configuration API for EntityLookups.
Rather than declaring a dedicated EntityLookup bean instance we now use the configuration API introduced on RepositoryRestConfiguration to define the identifier and lookup mapping.

Tweaked readme accordingly.
2015-12-09 16:10:02 +01:00
Oliver Gierke
0de282b2f2 #144 - Added sample for URI customization in Spring Data REST. 2015-12-09 13:01:21 +01:00
Oliver Gierke
c6b3ee8b5b #143 - Upgraded to Spring Boot 1.3.0.RELEASE. 2015-11-16 14:07:15 +01:00
Oliver Gierke
66c6b93904 #142 - Upgraded to Spring Data Gosling SR1.
Upgraded to latest Querydsl 3.6.9 as well.
2015-11-15 20:07:00 +01:00
Oliver Gierke
d776cbda3a #140 - Upgraded to Spring Boot 1.3 RC1. 2015-10-29 17:16:36 +01:00