Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
10 views

Spring Batch + YugabyteDB + HikariCP — EOFException when updating STEP_EXECUTION_CONTEXT after long-running batch Environment Spring Boot: 3.5.4 Spring Batch: Partitioned job with multiple threads ...
user3301213's user avatar
0 votes
1 answer
77 views

I use Spring Data REST to expose CRUD endpoints for a JpaRepository. The endpoint on the collection resource provides page, size and sort query parameters. The issue is that sorting doesn't work for ...
G. Fiedler's user avatar
0 votes
0 answers
86 views

I am trying to create a custom generic repository using the fragment interface approach as described in this article: https://docs.spring.io/spring-data/jpa/reference/repositories/custom-...
Sidharth Bajpai's user avatar
0 votes
1 answer
89 views

I’m working on enhancing a life insurance quotation workflow using Spring Boot 3 with JPA/Hibernate. The workflow involves several dependent steps: Customer eligibility checks Product → Plan → Rider ...
Kaveesha Sanduni Kodikara's user avatar
1 vote
1 answer
99 views

I'm building a Spring server program which uses a PostgreSQL database. For one of the table columns, I want to restrict the possible values to a static pre-defined set, so I created a PostgreSQL enum ...
Gustav Blaß's user avatar
1 vote
1 answer
114 views

Is it possible to lost increment here? If not, is it possible in case of read_commited level? @Transactional public updateProductStatistics(Long productId) { ProductStats stats = ...
J.J. Beam's user avatar
  • 3,191
1 vote
1 answer
85 views

I have test class which, if configured in this way, works @DataJpaTest @AutoConfigureEmbeddedDatabase( refresh = AutoConfigureEmbeddedDatabase.RefreshMode.BEFORE_EACH_TEST_METHOD, provider = ...
four-eyes's user avatar
  • 12.8k
0 votes
0 answers
64 views

I have the next entity three: TestEntity / \ FirstNodeEntity SecondNodeEntity (LIST, LAZY) (LIST, LAZY) | \ ThirdNodeEntity ...
tidik's user avatar
  • 21
-2 votes
0 answers
71 views

I wanna test a PostEntity without removing the next code: @CreatedBy // Have to remove these ", nullable = false, insertable = false, updatable = false" @Column(name = "created_by")...
viespring's user avatar
-1 votes
0 answers
81 views

I've migrated my Spring Boot 3.5.8 application that uses spring-data-rest (@RepositoryRestResource). I used to be able to create (Post Request) entities and assign the entity to its relationship with ...
François-David Lessard's user avatar
1 vote
1 answer
137 views

I'm trying to connect my Spring Boot application (using spring-boot-starter-data-mongodb) to a MongoDB instance within a shared Docker network managed by docker-compose. The connection is failing, and ...
SidaliFetoumi's user avatar
1 vote
1 answer
68 views

Let's say I have a spring-boot-based project, that uses spring data jpa to define entities and map them to a postgres db. The entity has some @ManyToOne annotatated "joins" - with eager ...
Vito De Tullio's user avatar
0 votes
1 answer
56 views

I have trouble passing parameters for a native query with declare..begin..end style. This code doesn't work: @Test @Transactional void foo() { em.createNativeQuery(""" do ...
Artyom's user avatar
  • 125
0 votes
0 answers
70 views

In a Spring Boot 2.7.x application with Hibernate/JPA, there are two tables: tickets complaint_id (PK, VARCHAR(255)) attachment complaint_id (FK, VARCHAR(255)) other fields: id, file_name, ...
RaviSai1819's user avatar
-1 votes
0 answers
34 views

so i am using entity graph to make a dynamic query of a table, the query is being made correctly which is corresponding to my graph and subgraph attribute nodes but when i fetch it as the entity, the ...
Nima Khajehpour's user avatar

15 30 50 per page
1
2 3 4 5
1557