srb4j
srb4j copied to clipboard
All XxxRepo.saveNewXxx() methods news should return void
Currently they are returning "long", meaning the generated ID. But that's a mistake. What's really returned is the number of rows that have been inserted. So, it will always return 1.