Mark Paluch
9b64cc2239
Upgrade to Spring Data 2025.1.0-M3.
2025-05-16 14:50:09 +02:00
Mark Paluch
2b82d56ded
Reformat code.
...
Also, upgrade to Hibernate 7.0 CR1.
2025-05-13 16:00:45 +02:00
Mark Paluch
d40fec53e4
Polishing.
...
See #695
2025-05-08 10:47:42 +02:00
Christoph Strobl
5a234bcef3
Add AOT Repositories example.
...
Closes #695
2025-05-08 10:47:37 +02:00
Mark Paluch
1607cc08b7
Upgrade to Spring Boot 3.5 RC1.
...
See #693
2025-05-05 10:25:08 +02:00
Jens Schauder
56aafe1057
Polishing.
...
Formatting.
Clarifying what is demonstrated a little.
Original pull request #668
2024-12-17 13:13:55 +01:00
duicym
d9c0a0f088
Add toString method for Customer.
...
Fix the issue of `CustomizableTraceInterceptor` using `Object.toString()``.
Original pull request #668
2024-12-17 13:13:54 +01:00
Christoph Strobl
7f3d39ddd9
Enable Tests using VirtualThreads for java 21 onwards.
...
This commit updates tests using virtual threads to run for java versions 21+.
See: #665
2024-08-21 15:06:06 +02:00
Oliver Drotbohm
643b274764
Use Boot version for Hibernate enhancement in GraalVM example.
2024-08-15 15:50:02 +02:00
Oliver Drotbohm
cb50e716b6
Fix MultiTenantConnectionProvider implementations in Hibernate examples.
2024-08-15 15:33:46 +02:00
Jens Schauder
9bc05558ee
Add note about storage of tenant.
...
Closes #686
2024-08-12 09:40:51 +02:00
Christoph Strobl
f98c7b9c93
Show how to use Limit with repository queries.
...
Add methods taking a Limit parameter to various samples.
Original pull request: #672
Closes #671
2023-11-02 14:45:03 +01:00
Mark Paluch
e90be0c65b
Add examples using Virtual Threads.
...
Closes #665
2023-10-27 11:01:21 +02:00
Mark Paluch
ffadb798e9
Disable multi-tenant test as Hibernate broke the by-id functionality.
...
See #669
2023-10-25 14:30:38 +02:00
Oliver Drotbohm
321e3e9b88
Upgrade to Spring Boot 3.1.2.
2023-07-22 10:22:36 +02:00
Mark Paluch
b21a6647ae
Polishing.
...
Add WindowIterator example.
See #662
2023-05-15 11:48:28 +02:00
Christoph Strobl
1b8872abce
Add scrolling sample for JPA.
...
Closes #662
2023-05-15 11:48:28 +02:00
Mark Paluch
1065f4d5ed
Upgrade to Spring Boot 3.0 GA.
...
Closes #654
2022-12-12 11:16:34 +01:00
Mark Paluch
3f938634d9
Polishing.
...
Cleanup superfluous declarations.
See #654
2022-12-12 11:16:31 +01:00
Christoph Strobl
5af0cb7983
Add native jpa sample.
...
See #654
2022-12-12 11:16:19 +01:00
Christoph Strobl
d52d73f34c
Upgrade to Spring 6 and Spring Boot 3.
...
See #654
2022-12-12 11:15:36 +01:00
Greg L. Turnquist
e2b388e6b9
Remove workaround for https://hibernate.atlassian.net/browse/HHH-15142 .
...
Hibernate 5.6.9.Final resolves this issue, removing the need for the workaround.
Related: https://github.com/spring-projects/spring-data-jpa/issues/2519 , https://github.com/spring-projects/spring-data-jpa/issues/2583
2022-09-29 12:13:52 -05:00
Jens Schauder
c3ed1277e7
Adds examples of Spring Data JPA with Hibernate Multitenancy.
2022-08-01 10:46:06 +02:00
Marc Wrobel
ce994f9ea0
Fix typos in documentations.
...
Fix typos in READMEs, javadoc, comments and code.
Original pull request #642
2022-07-29 13:07:11 +02:00
Greg L. Turnquist
fb89f95a42
Polishing.
2022-05-19 11:23:01 -05:00
Greg L. Turnquist
6cdb6ce1f9
Workaround to make Contains queries work.
...
Due to a bug in Hibernate (https://hibernate.atlassian.net/browse/HHH-15142 ), any Like-based custom finder will fail when submitted to the Entity Manager a second time.
This patch includes a workaround until Hibernate 5.6.9.Final is released.
See also: https://github.com/spring-projects/spring-data-jpa/issues/2519 , https://github.com/spring-projects/spring-data-jpa/issues/2472
See #636 .
2022-05-19 11:23:01 -05:00
Mark Paluch
2eae935af8
Upgrade to Spring Boot 2.7 RC1.
...
Remove unneeded version properties. Move off deprecated config properties. Adopt to flapdoodle deprecations.
See #636
2022-05-19 11:23:00 -05:00
Mark Paluch
b9c0e501d7
Java 16 migration for JPA examples.
...
See #606 .
2021-04-30 10:29:44 +02:00
Mark Paluch
743937c45f
Merge JPA Java 8 examples with general examples.
2021-04-30 10:29:38 +02:00
Mark Paluch
ec8557c7da
Update copyright years to 2021.
...
Closes #616
2021-04-27 14:47:20 +02:00
Mark Paluch
b319a9154f
Use import.sql instead of data.sql.
2021-04-19 09:29:13 +02:00
Mark Paluch
53dc64ecb4
Polishing.
...
Reformat code. Simplify annotation setup.
See #603
Original pull request: #604 .
2021-02-25 09:30:37 +01:00
Jens Schauder
fef817eb22
Adds an example demonstrating the use of Spring Data Envers.
...
Closes #603
Original pull request: #604 .
2021-02-25 09:27:14 +01:00
Jens Schauder
64c1eeaf05
Polishing.
...
Add `@author` tags to changed files.
Remove Hamcrest usage.
Original pull request #602
Related tickest #583
2021-01-29 10:54:35 +01:00
divya_jnu08
6a894d9334
Migrates JPA examples to JUnit 5.
...
Original pull request #602
Related tickest #583
2021-01-29 10:52:20 +01:00
Jens Schauder
16fe0db465
#125 - Polishing.
...
Use AssertJ for assertions.
Adjust copyright.
Original pull request: #126 .
2020-11-09 15:24:06 +01:00
Thomas Darimont
322c8b5ba3
#125 - Added example to demonstrate support for JPA 2.1 EntityGraphs.
...
This demonstrates the use of JPA 2.1 fetch graphs in two ways.
1. By referencing a NamedEntityGraph declared on the Product entity
2. Declaratively defining an entity graph on a repository query method.
Original pull request: #126 .
2020-11-09 15:22:33 +01:00
Mark Paluch
c0d2544995
#553 - Adapt Spring Data JPA.
...
Replace Joda-Time with JSR-310 types.
2020-05-11 10:40:11 +02:00
Oliver Gierke
c88ad331c0
#553 - Upgrade to Spring Boot 2.3.
2020-05-11 10:40:05 +02:00
Mark Paluch
926b4bc276
#556 - Upgrade to Spring Boot 2.2.5.
...
Exclude Eclipselink for Java 15 build profile as it isn't compatible with Java 15.
2020-02-27 15:45:12 +01:00
Mark Paluch
574e8891e5
#555 - Polishing.
...
Extract feature preview into property for easier reuse. Upgrade to Eclipselink 2.7.6.
2020-02-27 11:36:01 +01:00
Kovács, Péter
950bcf04d8
#547 - Fixes Javadoc typo.
...
Original pull request: #547 .
2019-12-04 08:47:46 +01:00
Oliver Drotbohm
3777b06b03
#506 - Replace custom Eclipselink setup with dedicated starter.
2019-08-08 19:01:13 +02:00
Oliver Drotbohm
c220ad61fb
#514 - Use spring-framework.version instead of spring.version.
...
See spring-projects/spring-boot#17037 .
2019-08-08 19:01:13 +02:00
Oliver Drotbohm
557851105c
#514 - Switch to Spring Boot 2.2.
...
Fixed infrastructure configuration in Eclipselink example.
2019-08-08 18:57:39 +02:00
Oliver Drotbohm
e1a739a3d6
#508 - Upgrade to Eclipselink 2.7.4.
2019-07-10 15:28:58 +02:00
Oliver Drotbohm
f6245580c0
#504 - Fixing deprecation warnings in JPA and REST examples.
2019-06-07 09:30:43 +02:00
Feng Zhang
7b0c7a539b
#494 - Fix spelling mistake.
...
Original pull request: #494 .
2019-03-26 08:41:58 +01:00
Spring Operator
ccae97890f
#491 - URL Cleanup.
...
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/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 426 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-22 08:13:14 +01:00
Spring Operator
6d51ebf294
#473 - URL Cleanup.
...
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).
# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* http://mybatis.org/dtd/mybatis-3-config.dtd (301) with 1 occurrences could not be migrated:
([https](https://mybatis.org/dtd/mybatis-3-config.dtd ) result SSLHandshakeException).
* http://mybatis.org/dtd/mybatis-3-mapper.dtd (301) with 2 occurrences could not be migrated:
([https](https://mybatis.org/dtd/mybatis-3-mapper.dtd ) result SSLHandshakeException).
# 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://maven.apache.org/xsd/maven-4.0.0.xsd with 70 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 6 occurrences migrated to:
https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd ) result 301).
* http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://java.sun.com/xml/ns/persistence with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 152 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 77 occurrences
Original pull request: #472
2019-03-20 10:10:59 -05:00