Early Access Program

IntelliJ IDEA 2024.2 EAP 5: Jakarta Data Support, Extended JPA Support, Streamlined Cron Expressions Handling, and More

IntelliJ IDEA 2024.2 EAP 5 is now available! It brings a range of exciting updates to the IDE’s integrations with popular frameworks such as Spring, Quarkus, and Micronaut, along with Jakarta Data specification support, and more.

To try them out today, download the IntelliJ IDEA 2024.2 EAP 5 build from our website, update directly from the IDE or via the free Toolbox App, or use snaps for Ubuntu.

Download IntelliJ IDEA 2024.2 EAP 5

Let’s look at the latest new features in detail.

Frameworks and technologies

Jakarta Data support

With IntelliJ IDEA 2024.2 EAP 5, we are introducing support for Jakarta Data. The IDE now provides coding assistance and inspections for repositories, including method name completion and validation based on the data model, as well as parameter validation based on the method name. Jakarta Data repositories are displayed in the Beans tool window to simplify navigation.

Additionally, Jakarta query language support is now available, offering syntax highlighting, statement validation, and statement autocompletion based on the data model.

Extended JPA support

We are extending JPA support with several new inspections in IntelliJ IDEA. These enhancements enable the IDE to detect and fix issues that may cause performance degradation or runtime errors when using Lombok annotations with JPA entities. IntelliJ IDEA can also now identify missing parameters in Spring Data JPA repositories, check if all associations are correctly marked, and prevent accidental deletions by detecting the CASCADE parameter for @ManyToMany associations.

Enhanced Spring Data JPA support

We’re continuously improving Spring Framework support in IntelliJ IDEA. In this EAP build, we have added the capability to run Spring Data JPA methods in the IDE. This new feature allows you to see which query a method will generate without needing to run the application and analyze log files. Уou can now execute any repository method directly in the JPQL Console using the gutter icon.

Improved cron expression support

Working with cron expressions in your code is now easier than ever. When implementing scheduled services with Spring, Quarkus, or Micronaut, you can easily understand cron expressions thanks to the descriptions that appear right next to them. Additionally, the autocompletion feature provides pre-filled examples that you can instantly add and adjust, rather than writing cron expressions from scratch..

The ability to trigger Spring @Scheduled methods in debug sessions

IntelliJ IDEA 2024.2 EAP 5 features debugging capabilities for asynchronous @Scheduled methods in Spring Boot. This update eliminates the need to manually adjust the method’s schedule and wait for it to start – simply set a breakpoint and trigger the method’s execution whenever you need directly from the IDE.

GraalJS as the execution engine for the HTTP Client

We’ve upgraded the JavaScript execution engine used in the HTTP Client to GraalJS. If you prefer testing endpoints with IntelliJ IDEA’s HTTP Client and use JS in .http files to handle results, you can now utilize all of the features provided by GraalJS, including full support for the ECMAScript 2023 specification.

Autocompletion for Micronaut and Quarkus beans

IntelliJ IDEA now provides bean autocompletion and injection for Quarkus and Micronaut applications. When you need to inject a bean into your code, simply start typing its name and select it from the code completion popup. The IDE will automatically add a constructor parameter or field with the @Inject annotation, depending on your code style.

These are the most notable updates included in the IntelliJ IDEA 2024.2 EAP 5 build. To review the full list of implemented changes, refer to the release notes.

As always, we look forward to your feedback about the latest improvements, so feel free to share it in the comments below or on X (formerly Twitter). If you come across a bug, report it to our issue tracker.

Happy developing!

image description

Discover more