All Questions
Tagged with mysql spring-boot
3,470
questions
0
votes
0
answers
45
views
Problem with Spring Boot,mysql and Docker
I have a spring boot application that has a connection to the mysql database, when I try to dockerize it and create the image whenever the application image will run these logs
2024-07-24 17:45:44 ...
0
votes
1
answer
339
views
Return value of sqlExceptionHelper() is null
I was trying my hands on running my Spring Boot application with MySQL database on Docker Desktop via docker compose. I am getting this error upon running docker compose up .
app-1 | java.lang....
-2
votes
0
answers
27
views
I am working in a SpringBoot Microservices Insurance Project. I have to design the code where we need to maintain the User journey means the staging
The application uses Rest APIs for dealing with multiple tasks as User Login, OTP creation and Validation, user form fill up etc. If user has to fill a form of 4 pages and after say 1/2 page, user ...
0
votes
0
answers
15
views
Handling Date comparisons in MYSQL 8 and Spring boot without Milliseconds
We are upgrading our project from Mysql 5 to Mysql 8. there is weird issue coming in db queries in date handling.
On MySQL 5, while saving data to db, the date used to be saved with 'yyyy-MM-dd HH:mm:...
2
votes
0
answers
59
views
Can't connect to MySQL server in Git-Hub Action
I installed MySQL 9.0 in the docker environment using mirromutth/[email protected] [1] in GitHub Action. I set it up in Spring project as follows.
File application.yml
spring:
datasource:
url: ...
1
vote
0
answers
23
views
spring boot app cannot connect mysql database between kubernetes pods/services in minikube
I got a web server in spring boot tries to connect to mysql database, both of which is running in minikube local machine. The application and database configuration should be alright, because it is ...
-3
votes
0
answers
21
views
Application with Spring MVC using Reactive database connector, what benefit we can get? [closed]
I am having a legacy applications developed in SpringMVC/Spring boot. In the application I can see the I/O calls like to connect with DB and external service call causes thread sortage because of ...
-1
votes
0
answers
49
views
different thread read old value even previous update finish when in concurrency
my project is a spring boot 2.x, mybatis 3.x and mysql 8.0(default isolation level - repeatable read).
I have a BServiceImpl:
@Slf4j
@Service
public class BServiceImpl extends CommonService {
@...
0
votes
1
answer
39
views
Spring Boot 3.2.7 with Java 17 is not creating tables and columns in database
This is the first time I am going to create an application using java 17 and Spring boot 3.2.7. In no way spring boot is able to create tables and columns in mysql schema after starting my application....
0
votes
0
answers
16
views
Access denied for user 'root'@'localhost' (using password: YES). In SpringToolSuit4 [duplicate]
enter image description hereI am working on the springToolSuite4,I was creating Restful API and trying to access the database through it. I have added all the dependencies and the password used is ...
0
votes
0
answers
52
views
Could not write JSON: Infinite recursion (StackOverflowError)
I am developing a web project with spring boot using jpa, I have a problem using swagger and testing an api of mine named getAppointmentById, I tried using @JsonIgnore, @JsonManagedReference, @...
0
votes
1
answer
46
views
Containerized Spring boot application is unable to connect to database within container
I seem to be encountering an error within an application that I have created in changing it to be ran via docker.
I want to be able to stat the application from running docker compose so I created a ...
0
votes
1
answer
44
views
Spring Boot application fail while init
Annotation-specified bean name 'personDAO' for bean class [com.gmail.tihamer.rozman.demo.PersonDAO] conflicts with existing, non-compatible bean definition of same name and class [org.springframework....
0
votes
0
answers
19
views
[spring-boot]open api can't be stored in mysql database
bonjour,
I have a unsolvable problem ... help me
I downloaded XML open api file and parsed that in spring boot.
Even though mysql db was successfully connected, data wasn't stored in my db table.
Only ...
0
votes
0
answers
21
views
ORM connection behaves differently for two different codes
I had two different codes and I needed to make an ORM connection and create a table out of the given code:
code 1:
package com.scm.entities;
import jakarta.persistence.Column;
import jakarta....