Spring boot dont save id master into details fields
I have theses classes and this method public CaixaMovimentos createCaixaMovimentos(CaixaMovimentos caixaMovimentos) dont work to save id master into details fields.
Getting fragment error while using Custom Fragment JPA implementaion
I have created a custom JPA repository and extended it to another JPA repository interface, but I am getting the following error:
Failed to initialize JPA EntityManagerFactory: Property ” is not a collection and may not be a ‘@OneToMany’, ‘@ManyToMany’, or ‘@ElementCollection’
I’m trying to create a system to help manage company I’m in. One of the module is ticketing problems. Previously I was using nonSQL DB but decided to learn something new. I’m not sure if it’s a problem with classes or just wrong sql model. I want users to be able to create Tickets and be able to Comment them. But all I got is errors.
I have:
User.java
NonUniqueResultException: query did not return a unique result: 2 error when returning attributes for collection of items in DB
I am trying to read a set of answers that a user submits to a database. The table has the following columns: PKid, clientId, questionId, answer, archived. Client submissions populate in this manner to decrease the footprint of what would otherwise be a very large table:
NonUniqueResultException: query did not return a unique result: 2 error when returning attributes for collection of items in DB
I am trying to read a set of answers that a user submits to a database. The table has the following columns: PKid, clientId, questionId, answer, archived. Client submissions populate in this manner to decrease the footprint of what would otherwise be a very large table:
Spring JPA filtration and setting
New to java development. Using Spring Boot and Spring JPA to develop a web app.
How get spring data jpa repositoy to use a dynamically set datasource
I have a spring boot project where I have to process files. According to a specific number in the filename the following actions (e.g. persisting some data) will rely on a certain database schema. There are around 100 schemas to fill.
How to create a custom Id in spring boot and save into database?
The patient registration class has patient id which is unique. the id should be like – P2024070280001, P is prefix, 2024 is the current year, 07 means the current month, 028 means that specific day, 0001 means the serial, first patient of that day.
Memory Leak while persisting bulk data
I am importing a lot of data from a csv, transform it to list of objects and write it to the database. This is working fine but it seems to have a memory leak.
How to handle multiple concurrent user request for download 1million records api using spring boot
How to handle multiple concurrent user request for download 1million records api using spring boot ? its give time out.Timeout and database pool issue i already gives 10 pool size timeout 30000. my api response time 9 to 10s. ——————————————————————————————–