Spring Data JDBC - How to use custom ID generation

Engineering | Jens Schauder | September 09, 2021 | ...

This is the first article of a series about how to tackle various challenges you might encounter when using Spring Data JDBC. The series consists of

  1. Spring Data JDBC - How to use custom ID generation. (this article).

  2. Spring Data JDBC - How do I make bidirectional relationships?

  3. Spring Data JDBC - How do I implement caching?

  4. Spring Data JDBC - How Can I Do a Partial Update of an Aggregate Root?

  5. Spring Data JDBC - How do I Generate the Schema for my Domain Model?

If you are new to Spring Data JDBC, you should start by reading its introduction and this article, which explains the relevance of aggregates in the context of Spring Data JDBC

This Week in Spring - September 7th, 2021

Engineering | Josh Long | September 07, 2021 | ...

Hi, Spring fans! I am still reeling from the craziness of last week's SpringOne event! That doesn't mean that the world's stood still in the interim though! Quite the contrary! There's a ton of things to get to this week so without further ado let's go!

A Java 17 and Jakarta EE 9 baseline for Spring Framework 6

Engineering | Juergen Hoeller | September 02, 2021 | ...

As announced at SpringOne yesterday, Spring Framework 6 and Spring Boot 3 are planned towards a high-end baseline for their general availability in Q4 2022:

  • Java 17+ (from Java 8-17 in the Spring Framework 5.3.x line)
  • Jakarta EE 9+ (from Java EE 7-8 in the Spring Framework 5.3.x line)

This forward-looking baseline will provide significant benefits in our API design and integration efforts, shining through to your application code and future-proofing the framework as well as your applications for many years to come. However, it comes at a cost, of course: Spring Framework 6 and Spring Boot 3 based applications will require a minimum of JDK 17 at runtime, as well as a minimum of Tomcat 10 / Jetty 11 (for Jakarta EE 9 compatibility). Even more importantly, there might be some changes required in your application source code: e.g. the javax to jakarta

Spring GraphQL 1.0.0-M2 available now

Engineering | Brian Clozel | September 01, 2021 | ...

Less than 2 months after the initial announcement of Spring GraphQL and its follow up intro blog, I'm happy to announce that the 1.0.0-M2 version has been released and is available from the Spring Milestone repository.

The Spring GraphQL team would like to thank the early adopters and contributors - with your help, we're making good progress towards a GA version!

We've fixed a few issues and renamed a couple of concepts, but the most notable change is the introduction of a new annotation model for GraphQL Controllers. You can now annotate @Controller components to handle queries, mutations…

Monitor Spring Boot applications end-to-end using Dynatrace in Azure Spring Cloud!

Engineering | Josh Long | September 01, 2021 | ...

Today, we are excited to announce the integration of the Dynatrace Software Intelligence Platform in Azure Spring Cloud.

Over the past 18 months, we worked with many enterprise customers to learn about the scenarios they face. Many of these customers have thousands of Spring Boot applications running in on-premises data centers. As they migrate these applications to the cloud, they need to instrument them for application performance monitoring (APM) using solutions their developers are familiar with and have been using for years. In addition, they must ensure continuity for desktop and mobile…

This Week in Spring - August 31st, 2021

Engineering | Josh Long | August 31, 2021 | ...

Hi, Spring fans! Can you believe it? SpringOne 2021 kicks off in less than 24 hours! Have you registered? It's free and it's virtual, but the talks are live and there'll be ample opportunity to talk to the Spring and Tanzu teams behinds the scenes. And, of course, I'll be there. Also, don't miss tomorrow mornings opening keynote, which I'll be emceeing. And please don't miss my session on Azure Spring Cloud with Julien Dubois and Layla Porter. There are a ton of great talks over the next two days. Do not miss these! Alrigty my friends, we've got a ton of stuff to review so without further ado…

This Week in Spring - August 24th, 2021

Engineering | Josh Long | August 24, 2021 | ...

Hi, Spring fans, and welcome to another riveting roundup of all the news that's fit to reprint in the Java and Spring ecosystems, with apologies, as always, to The Times. We're a week away from SpringOne 2021, our annual, free, and utterly online tentpole conference featuring hundreds of hours of amazing technical content from speakers all around the world and tens of thousands of attendees with whom to partake in the festivities. Do not miss this! I'll be there!

I get so excited in the leadup to SpringOne each year, and this year doubly so! First, there's the usual monumental scope of the whole thing, which always gets me. I also just got my first (of hopefully many) negative COVID-19 tests a few days ago, after three weeks of convalescence. Huzzah! I'm still taking it easy, trying to make sure I stay on the good side of the hospital doors, and that I don't relapse or incur any of the possible repercussions of COVID post-recovery. All that to say that…

Structuring Your Code for Spring Framework and Spring Boot

Engineering | Josh Long | August 23, 2021 | ...

or: How To Build a Mental Framework for Spring Framework

EDIT: There's a great comment below that mentions that the original title, Structuring Spring Boot Applications, is a bit misleading, in that the blog doesn't intend to talk about how to organize types and packages, and instead thinks about how Spring interacts with the objects in your code. The next paragraph sought to clarify that point but apparently fell short. Anyway, I've changed it, which unfortunately will break earlier links to it. I'm sorry for both the poor title and the now two days of broken links. I hope it's useful for…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

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

Learn more

Get support

Tanzu Spring 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