151,123 questions
0
votes
0
answers
2
views
Spring Boot application connects to standby (secondary) Oracle database by default
I have multiple Spring Boot applications with database connection. Recently I created another similar application but this time with the version 3.4.4. I have two instances of Oracle database, one is ...
0
votes
0
answers
12
views
Spring Boot Redis connection refused: localhost:6379 using Docker Compose
I'm new to docker and I'm trying to run redis-server and my springboot app both on a container.
The Redis server is running fine on docker but when i try to connect my spring boot app to the redis ...
0
votes
0
answers
12
views
Integrating razorpay with accounts in single springboot backend
I have two apps with same backend which are separated by packageName.
So no i have two razorpay accounts for both these apps how do I integrate them in my single backend.such that when the user makes ...
1
vote
0
answers
21
views
Getting log: certificate type [UNDEFINED] configured from keystore [C:\.....\systemprofile\.keystore] using alias [alias_name] with trust store [null]
I have a spring boot application, Which run as Windows Services on server machine. I upgraded java version from 1.8 to 17 also spring boot version from 2.7.0 to 3.4.4. After that i resolved the ...
0
votes
0
answers
24
views
How to implement an in-memory cache in Spring Boot with Java 8 that stores a list of strings and loads automatically on application startup?
I am trying to implement an in-memory cache in a Spring Boot application using Java 8. The cache should store a list of String values, and it should automatically load with values at application ...
0
votes
0
answers
36
views
Behavior of Retry in Spring Batch with JdbcCursorItemReader after lost connection
I have some problem.
I need transfer really big amount of data from oracle DB to some other DB.
But in my results always some data is missed.
I have easy query just get two columns from some table.
...
-4
votes
0
answers
37
views
Change JSON so date value can be passed as a parameter when file is being read [closed]
I have a JSON file:
{
"accountNumber": "1234",
"username": "user1",
"startDate": "01/01/2025"
}
My Java application parses this with:
...
0
votes
0
answers
14
views
How to fetch only id in spring boot neo4j relationship
I am implementing a DGS dataloader with Spring boot Neo4j,the dataloader part is implemented and fine.However,I need to get the list for Post authors from post.getCreatedBy.getId() to pass to ...
0
votes
0
answers
15
views
How to Upgrade openapi-generator-maven-plugin from 5.4.0. to 7.9.0
I'm currently using the openapi-generator-maven-plugin version 5.4.0, and I've customized it with my own POJOs, models, and a custom CustomOpenApiGenerator class. However, the generated classes still ...
0
votes
0
answers
12
views
Spring Cloud Kubernetes Config Server spring.cloud.kubernetes.discovery.namespaces
I have a kind cluster running for which I added the Spring Cloud Kubernetes Config Server Deployment running in the config namespace.
I have a pod running my-service in the 'bar' namespace
When I exec ...
1
vote
0
answers
11
views
zeebe test container connection issue after upgrade maven artifact 8.6.13 to 8.7.1
I have SpringBootApplication using following libary of camunda zeebe.
<dependency>
<groupId>io.camunda</groupId>
<artifactId>spring-boot-starter-camunda-sdk&...
0
votes
1
answer
68
views
Why is my spring response not formatted with my gson configuration?
I can successful map incoming JSON "tls-alias" to Java String "tlsAlias". But the response does not follow my naming policy. It returns "tlsAlias" instead of "tls-...
1
vote
1
answer
33
views
Virtual Threads in Spring Integration for long-running external service calls
We are currently working on a Spring Integration flow where each incoming message needs to trigger a call to an external HTTP service. The external call can take up to 20 seconds to complete, and the ...
1
vote
1
answer
59
views
How to get access and refresh tokens from the code received by developers.google.com/oauthplayground/
I am trying to use OAuth2, but this line ResponseEntity<Map> tokenResponse = restTemplate.postForEntity(tokenEndpoint, request, Map.class); takes me to the exception of 400 — BAD REQUEST.
I hit ...
0
votes
0
answers
33
views
Spring Boot doesn't catch SQLState custom exception from PostgreSQL trigger – Angular gets 500 but Postman gets 400
I'm working on a Spring Boot + PostgreSQL project where I have a trigger function that raises custom exceptions using RAISE EXCEPTION with SQLSTATE codes.
Here is the PostgreSQL trigger function:
...