Skip to main content

All Questions

0 votes
0 answers
8 views

Spring boot 3.3 PageImpl continue to return old structure

I use spring boot 3.3.2, Spring boot seem to have changed the structure of paging. we get before { "content": [], "pageable": { "pageNumber": 0, &...
robert trudel's user avatar
-1 votes
1 answer
35 views

Limit resuts returned by Spring Scroll Api

I want to implement the scroll API from Spring. So that when a user scrolls in the Front End, new data is loaded on every request from the Front end. I try to limit the results returned by Spring and ...
four-eyes's user avatar
  • 11.9k
0 votes
0 answers
56 views

Spring Boot 3.3.1 ignores `schema.sql` and `data.sql` during startup

My Spring Boot application with JPA is not executing schema.sql and data.sql files during startup. There are no indications in the logs that these files are being processed. One of the interesting ...
Amir Latifi's user avatar
1 vote
0 answers
31 views

Spring Reactive - Redis Health Check Failing

I have enabled my application to use the actuator/health endpoint and kept getting the status as 'DOWN'. After checking the full health endpoint details, I can see that I am getting two reponses for ...
amasuKAKAROT's user avatar
-1 votes
1 answer
27 views

Use of secrets in Hibernate @ColumnTransformer annotation

Im trying to store column specific encryption password as a application.properties secret. I tried: @Value("${database.encrypt.secret}") private String secret; @ColumnTransformer(read = &...
Joel Quenard Martinez's user avatar
1 vote
0 answers
53 views

Problem with Composite Primary Keys in JPA (Migrating from hibernate-jpa 2.1 to jakarta-persistence 3.1.0)

Currently updating a Java Spring Boot application from spring-boot 1.5.11.RELEASE to spring-boot 3.3.1 and now I'm facing some problems while launching my app, since I had to update hibernate-jpa 2.1 ...
Lucas Yoshioka's user avatar
0 votes
0 answers
37 views

SimpleJpaRepository saveAll throws exception due to duplicate

i have a repository used in the writer of a spring-batch, it's a simpleJpaRepository, and for the sake of performances, i use saveAll() to save a list of entities. during the save, sometimes the ...
user1436883's user avatar
0 votes
1 answer
42 views

Spring Boot and Batch Processor Item Date field is null

Spring batch using JdbcCursorItemReader for reader. and .setSql("select * from EMPLOYEE") Employee entity has a Date filed @Column(name = "CREATE_DATE_TIME") private LocalDateTime ...
Manu's user avatar
  • 1,263
0 votes
1 answer
31 views

@ExpectedDatabase not working as expected

I have a JUnit test which does a basic check of the repository layer which deletes an entry from the db. I am using @DatabaseSetup annotation to provide initial configuration and using @...
Darshil Shah's user avatar
0 votes
0 answers
29 views

EntityManager Error in Spring Boot project when using h2 database , error is occuring when using the data.sql file add in src/main/resources

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/...
Harry Potter's user avatar
1 vote
1 answer
66 views

Specify how LocalDateTime is stored in Azure CosmosDB for NoSQL

I have a spring boot project using azure cosmos db for nosql as the database, using CosmosRepository from spring-cloud-azure-starter-data-cosmos artifact. My entity looks like this: import java.time....
Overdrowsed's user avatar
0 votes
0 answers
32 views

Spring boot MongoDB incorrect query

I have a spring boot project, using MongoDB for the data storage. I am trying to query an individual object, GenericDataSet by its ID and tenant fields: // Object @ToString @Getter @Setter @Builder @...
Ethan Mullan's user avatar
0 votes
0 answers
21 views

Run spring-boot-maven-plugin start goal without DB connection

I need to run spring-boot-maven-plugin start goal in our build process so that I can generate the Openapi.json with the springdoc-openapi-maven-plugin and generate typescript SDK with openapi-...
Ez Az's user avatar
  • 83
-1 votes
1 answer
112 views

Spring Boot connect to SQL Server database using Windows Authentication on port other than 1433

I am using Java Spring Boot 3.3.0 in IntelliJ. For dependencies, I added "Spring Data JDBC" and "MS SQL Server Driver". Do I need to add other dependencies? This is what I have for ...
faujong's user avatar
  • 1,107
0 votes
0 answers
39 views

Spring Data MongoDB Aggregation - Invalid Reference Error

I am working on a Spring Data MongoDB Aggregation Pipeline. The pipeline has multiple stages (match, unwind, project, group, addFields, etc.). At all these stages, I just pass (totally undisturbed) an ...
Narayan Jee Jha's user avatar

15 30 50 per page
1
2 3 4 5
234