213,045 questions
0
votes
0
answers
26
views
Check if a JdbcClient transaction ran successfully in Java Spring
I need to insert one row of data in two different tables. Since the tables are related, i grouped the insert in a TRANSACTION in order to make them behave as an atomic operation.
My code follows:
...
0
votes
0
answers
13
views
jBPM Spring Boot + Spring Data
Hello I'm created jBPM Spring Boot Embedded APP
In general everything works fine
But When I tried to add my custom entity and use JPARepository for it
I meet the problem
I think potential problem that ...
0
votes
0
answers
16
views
Updating user details through a form though update refusal in React
I am trying to update user details on a form. I have created a UpdateForm Component that runs componentDidMount to get a particular user and I also used static getDerivedStateFromProps to pre-populate ...
-1
votes
0
answers
24
views
JSL-Springboot security login page redirecting infinitely (ERR_TOO_MANY_REDIRECTS)
/login page seems to be stuck in a loop of being redirected to self.
For context, I want /register & /login to be visible without authentication, while all other pages in my project should ...
0
votes
0
answers
37
views
How to refer to a specific instance of a class in yaml configuration using ConfigurationProperties for POJOs with Lists [duplicate]
I am trying to map a yaml configuration file to a complex schema of classes with relationships between the classes in order to build an API that can be highly configurable based on a yaml config file....
-3
votes
0
answers
55
views
Why are all lazy associations serialized in my JSON response even when I never access them? [duplicate]
I’m working on a Spring Boot project with JPA/Hibernate. I have an entity Product that looks like this:
@Entity
@Table(name = "PRODUCTS")
@AttributeOverride(name = "id", column = @...
0
votes
0
answers
16
views
Spring Data Redis OM: How to fetch only IDs (flight numbers) when type is in a list?
I’m using Spring Data Redis OM with Kotlin. Imagine I have a Flight document like this:
@Document("Flight", indexName = "FlightIdx")
data class Flight(
@Id
var flightNumber:...
0
votes
0
answers
21
views
Spring Boot session not saving to SPRING_SESSION table
Spring seems to be creating a session, and saving my session variable in memory. But when I check the SPRING_SESSION (and SPRING_SESSION_ATTRIBUTES) table(s), there is never an entry.
pom.xml ...
1
vote
0
answers
41
views
message-driven-channel-adapter stop receiving messages after a couple of days
I'm having an issue that I'm unable to solve it.
Here is the following scenario
In my application I'm creating an Entity and then I send that entity as XML in in a Queue.
Then I'm having an outound-...
0
votes
1
answer
27
views
Can we separate connection pool for heavy background processing versus UI?
We have a Spring 5.3 web application with Hibernate 5.6 and a c3p0 connection pool. Our application does lots of background processing (data import/export), plus there are usually a handful of users ...
0
votes
0
answers
57
views
RabbitMQ error connection in Spring Application - getsockotp
I’m building a Spring Boot application that uses RabbitMQ.
Here is my current setup:
application.properties
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
...
3
votes
0
answers
106
views
Spring Boot application with JDK 24 AOT cache often hangs at startup
I'm facing a perplexing and frustrating issue with a Spring Boot application that uses a JDK 24 AOT (Ahead-of-Time) cache (this is not native compilation, but just attempting to use the AOT cache). ...
-2
votes
1
answer
55
views
Why spring 7 prefer nullaway over checker framework? [closed]
I saw a news item that the Spring team is planning to switch to jspecify annotations and use them together with nullaway https://spring.io/blog/2025/03/10/null-safety-in-spring-apps-with-jspecify-and-...
1
vote
0
answers
15
views
How to query Redis OM Spring repository by LocalDate(Kotlin) field?
I’m working on a Kotlin project using Redis OM Spring and I have a Redis document class representing train markers:
import com.redis.om.spring.annotations.Document
import com.redis.om.spring....
0
votes
0
answers
52
views
Spring Microservices
What is the difference between using @SpringBootApplication and @EnableAutoConfiguration in a Spring Boot microservice?
I am learning Spring Boot microservices and I noticed that sometimes people use @...