Skip to main content
0 votes
0 answers
87 views

I am learning SpringBoot and I'm making an application that need to connect to a Springboot API. I don't have problem when running my API locally, but when I use Docker it fails to find the database. ...
Gwendal Ars's user avatar
2 votes
1 answer
105 views

'org.springframework.boot' version '3.3.13' I have a simple Task framework. public class TaskRunner implements DelayedTaskRunner { private static final String TASK_WORKER_THREAD_NAME_PATTERN = &...
Topa's user avatar
  • 21
3 votes
0 answers
62 views

In my Spring Boot 3, Hibernate 6.6.42 project I have the following two entities: @Getter @Setter @Entity @Table(name = "ATTACHMENT") public class Attachment implements Serializable { ...
Alessandro Briggi's user avatar
1 vote
1 answer
128 views

I'm implementing a small e-commerce system, but I've encountered the following problem: I can't delete entities with one-to-many relationships. I have a shopping cart class that goes as follow: @...
9527 snl's user avatar
4 votes
1 answer
148 views

I solved my Problem. I just dont really understand why Hibernate ist not showing its cache entries. I had the following representation that caused an OOM in my service while deleting lots of Entities. ...
GJohannes's user avatar
  • 1,815
1 vote
1 answer
113 views

At time of creating table in postgresql database without mentioning the schema name. What it will take as a reference for name of schema?
Surendrareddy Jakkireddy's user avatar
-3 votes
1 answer
75 views

I was trying to make an ecommerce api with Spring boot. I was using Spring data jpa for my models and relationships. But for some reason I can't make this one to many relationship. I have a category ...
rahamatj's user avatar
Best practices
0 votes
6 replies
160 views

I am building a Spring Boot application with Spring Security and JPA. I have seen two approaches for implementing UserDetails and I am confused about which one to use and why. Approach 1: @Entity @...
Mayank Grover's user avatar
Best practices
1 vote
4 replies
97 views

We have: Create Controller Create Service Propose Controller Propose Service Each controller executes the corresponding service. The Create Service will create two instances of different entities. ...
correia55's user avatar
  • 131
Best practices
0 votes
3 replies
144 views

Question I'm learning DDD in a puristic way and I’m building a Project Management app. Aggregate root: Project Project has a manager (Employee) and a list of tasks. Each task is assigned to an ...
InglouriousBastard's user avatar
Best practices
0 votes
4 replies
93 views

I worked on a performance improvement of importing large dataset in SpringBoot JPA. I Implemented batching of the records that I am saving to database and flushing and clearing the entity manager on ...
Abhishek Saxena's user avatar
0 votes
0 answers
81 views

In JPA, when an entity is modified inside a transaction (e.g., via a setter), the change is tracked only in the persistence context through dirty checking, and the actual UPDATE SQL is sent to the ...
Jiwon's user avatar
  • 1,246
0 votes
1 answer
85 views

Trying to do something simple, but continue to stumble on errors. I have a MyRepository extends JpaRepository, where I have (I gave Criteria a go, but am now rewriting the whole thing) a native query ...
Draaksward's user avatar
Tooling
0 votes
7 replies
50 views

I used to do Java back in the day (2013) and I am SCJP. Since then I have been doing mobile. Anyway, I was asked to do an API for someone so I figured I’d get back into it for a bit and everything ...
devjme's user avatar
  • 714
1 vote
1 answer
161 views

Spring-boot application with liquibase managed postgres DB, trying to get @DataJpaTest working with Testcontainers. The tests work in general - I can launch it, liquibase initialises the DB, and I can ...
UncleBob's user avatar
  • 1,423

15 30 50 per page
1
2 3 4 5
1556