Quantcast
Channel: Baeldung

Image may be NSFW.
Clik here to view.

How to Return anydata on GraphQL Mutation

1. Introduction When working with GraphQL mutations, we often encounter situations where returning a fixed type is too limiting. For example, sometimes we may want to return a simple success message,...

View Article


Image may be NSFW.
Clik here to view.

A Guide to Embeddings Model API in Spring AI

1. Overview Integrating artificial intelligence into an application typically involves working with text data. A critical technique in this domain is the embedding model, which converts textual...

View Article


Image may be NSFW.
Clik here to view.

How to Do Nested Mapping in Mapstruct?

1. Overview In this tutorial, we’ll utilize the MapStruct library to map nested properties from a source POJO to the properties of a target POJO. Similarly, we may use the same technique discussed in...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 597

1. Spring and Java >> Java 25 Introduces Stable Values API for Deferred Immutability and Improved Application Startup [infoq.com] JDK 25 introduces the StableValue API (as a preview feature),...

View Article

Image may be NSFW.
Clik here to view.

Resolving Spring JDBC “IncorrectResultSetColumnCountException: Incorrect...

1. Overview When working with Spring’s JdbcTemplate, we often need to convert the query result to a List of POJOs. However, a common pitfall we might encounter is the...

View Article


Image may be NSFW.
Clik here to view.

Guide to Java Diff Utils

1. Overview In modern software development, tracking and visualizing changes between different versions of files or content is vital. Whether we’re building a version control system, a collaborative...

View Article

Image may be NSFW.
Clik here to view.

Authorize Request for Certain URL and HTTP Method in Spring Security

1. Overview Securing resources based on user roles and HTTP methods in web application development is essential to prevent unauthorized access and manipulation. Spring Security provides a flexible and...

View Article

Image may be NSFW.
Clik here to view.

Event-Driven LISTEN/NOTIFY Support in Java using PostgreSQL

1. Introduction In this article, we’re going to take a look at the LISTEN and NOTIFY commands within PostgreSQL. We’ll see what they are, how they can be used, and how we can utilize them from within...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 598

1. Spring and Java >> Java’s Structured Concurrency: Finally Finding Its Footing [foojay.io] The Structured Concurrency API will continue as a preview feature in JDK 25, but with several...

View Article


Image may be NSFW.
Clik here to view.

How to Resolve “Could Not Autowire...

1. Introduction In this tutorial, we’ll explore how to solve a common error we may encounter when implementing email functionality using Spring Boot. We’ll focus on understanding the “Could not...

View Article

Image may be NSFW.
Clik here to view.

Transactional Messaging for Microservices Using Eventuate Tram

1. Overview In this tutorial, we’ll explore the challenges of maintaining data consistency between database operations and messaging. We’ll begin by examining the problem and then implement the...

View Article

Image may be NSFW.
Clik here to view.

Implementing Unions in Hibernate

1. Introduction In this tutorial, we’ll explore how to use the union operation in Hibernate to unify results from two related database entities. At Baeldung University, information about part-time...

View Article


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>