How to integrate Hibernates Multitenant feature with Spring Data JPA in a Spring Boot application

Engineering | Jens Schauder | July 31, 2022 | ...

For quite some time now, Hibernate has offered a Multitenant feature. It integrates nicely with Spring, but there is not much information about how to actually set it up, so I thought an example or two or three could help.

There is already an excellent blog article, but it is a little dated and it covers a lot of specifics to the business problems the author tried to solve. This approach hides a little of the actual integration, which will be the focus of this article.

Do not worry about the code in this post. You can find links to the full code examples at the end of this blog post.

What Does…

Spring Authorization Server Is Going 1.0

Engineering | Joe Grandja | July 28, 2022 | ...

We are excited to announce that we’ve started preparing for Spring Authorization Server 1.0 with plans to release the GA version in November 2022. It has been just over two years since we initially announced this new project, and we have come a long way since its initial development. The project has a full feature set, and the APIs have stabilized and matured over this time. A lot of effort and care was put into this project to ensure that it can grow and adapt over the next few years.

Spring Authorization Server 1.0 will be based on Spring Security 6.0, which will be based off of Spring Framework 6.0 and will require a minimum of Java 17 at runtime, as well as a minimum of Tomcat 10 or Jetty 11 (for Jakarta EE 9 compatibility). This major release will inherit the VMware Tanzu OSS support policy. Commercial support

Spring Cloud OpenFeign 3.0.8 is now available

Releases | Olga Maciaszek-Sharma | July 27, 2022 | ...

On behalf of the community, I am pleased to announce the Spring Cloud OpenFeign 3.0.8 is available today. The release can be found in Maven Central. This version is compatible with 2020.0.6 Spring Cloud release, but it's not included in the bom, so it has to be set up manually in project build files.

Notable Changes in the 3.0.8 Release

This is primarily a bugfix and documentation release, that backports fixes over from 3.1.x releases. The most notable backport is the Fix related to cascading Spring Data's Page deserialisation.

This Week in Spring - July 26th, 2022

Engineering | Josh Long | July 26, 2022 | ...

Aloha, Spring fans! I'm on vacation, reporting to you from the paradise-like island of Maui, Hawaii, and hoping that you're having a wonderful day! My family and I love Hawaii. It's brimming with beauty and serenity, and while the island of Maui, in the state of Hawaii, is very small, the islands are humbling. They make you feel so very small. It's surreal to sit there on the beach as the sun creeps down beyond the horizon and to realize there's nothing but pitch black darkness and water for as far as you can see, starting just a few meters away. It's endless. It has no end. Like the bugs in…

Spring Shell 2.1.0 is now available

Releases | Janne Valkealahti | July 25, 2022 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Shell 2.1.0 has been released and is now available from https://repo.spring.io/milestone.

Please see the release notes for more details.

Thanks to all those who have contributed with issue reports and pull requests.

Earlier this year we started an effort align the project with latest Spring Boot and Spring Framework versions as it was difficult to use existing Spring Shell release of a spring family.

Originally the main issue we wanted to address was a removal of a bean cycles which Spring Boot is now enforcing by default. While this feature can be turned off it is not something Spring Shell should require. This required a lot of changes and we chose to handle it with rework of a shell internals. One big challenge was how the old Spring Shell worked by essentially keeping command info methods backed by @ShellMethod

Spring Boot 3.0.0-M4 available now

Releases | Andy Wilkinson | July 21, 2022 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 3.0.0-M4 has been released and is now available from https://repo.spring.io/milestone.

This release includes 161 enhancements, documentation improvements, dependency upgrades, and bug fixes. Notable new features include:

  • Support for Elasticsearch's new Java client
  • Support for Flyway 9
  • Support for Hibernate 6.1

Please see the release notes for more details and upgrade instructions.

Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter

Spring Boot 2.7.2 available now

Releases | Andy Wilkinson | July 21, 2022 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 2.7.2 has been released and is now available from Maven Central.

This release includes 40 bug fixes, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Project Page | GitHub | Issues | Documentation | Stack Overflow |

Spring Boot 2.6.10 available now

Releases | Andy Wilkinson | July 21, 2022 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 2.6.10 has been released and is now available from Maven Central.

This release includes 30 bug fixes, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Project Page | GitHub | Issues | Documentation | Stack Overflow |

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all