Skip to main content

All Questions

Tagged with
5 votes
1 answer
4k views

Custom ResponseModel for Spring Controller - ResponseEntity<?>

I created a custom responseModel to have a standard json responseModel for some of my different RestController. Superclass TransactionResponseModel: ...
Patrick's user avatar
  • 131
0 votes
1 answer
1k views

How to avoid duplicate code due to the impossibility of using multiple inheritance

I'm working on a Spring - Hibernate App, and I have a question about how to correctly avoid duplicate code and using Hibernate, due to the impossibility of using use multiple inheritance (I usually ...
Hugo L.M's user avatar
  • 113
3 votes
1 answer
1k views

Extending functionality of org.springframework.batch.item.file.transform.DefaultFieldSet

I would like to be able to set token values (defaultFieldSet.tokens) and names (defaultFieldSet.names) on ...
James's user avatar
  • 289
3 votes
2 answers
5k views

DAOs for Person, Employee, Staff, etc

I have an abstract PersonDao class, extended by several other DAO classes, for example EmployeeDao, ...
janos's user avatar
  • 112k