srb4j icon indicating copy to clipboard operation
srb4j copied to clipboard

All XxxRepo.saveNewXxx() methods news should return void

Open chenjianjx opened this issue 5 years ago • 0 comments

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.

chenjianjx avatar Jan 13 '19 02:01 chenjianjx