Skip to main content

All Questions

Tagged with
3 votes
1 answer
217 views

Meme (title with picture) exchanger

Project structure without code: Packages: Classes in packages: In ConfigConstants I store path to folder, where I save pictures. Also in ...
Miron's user avatar
  • 418
2 votes
1 answer
2k views

Inserting 50k rows with Spring Data and JPA [closed]

I am using Spring Data JPA with Spring boot application. My requirement is to insert 50K rows in JPA entity table in one hour or less. I have 3 entities A, B and C. Entity A has a one to many ...
Pankaj's user avatar
  • 21
1 vote
1 answer
2k views

SpringData: filtering fields of Entity in Repository

My entity is Office. In office repository I would like to find all office Addresses: ...
Rudziankoŭ's user avatar
2 votes
0 answers
173 views

Implementing a long-running entity lock

Requirement I have an entity named ImportData which can be processed once in order to extract data from a file fed to the application. I need to make sure that, in ...
usr-local-ΕΨΗΕΛΩΝ's user avatar
2 votes
0 answers
69 views

Minimizing database overhead by storing additional information to the users authentication-object (Spring Security)

I am using Spring Security in order to check if a logged in user is authenticated. However, after authentication, as some actual requests come in, I would like to minimize the number of database calls ...
Stefan Falk's user avatar
3 votes
1 answer
6k views

Customize data types in a generated model with hibernate

I have a Spring/Hibernate application with the following domain class (irrelevant code stripped for brevity): ...
Kaidjin's user avatar
  • 123