-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Labels
in: repositoryRepositories abstractionRepositories abstractionstatus: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement
Milestone
Description
rod2j opened DATAJDBC-551 and commented
Derived delete/removeByXxx queries work as expected for return type void but fail when return type is long/Long or List<entity type>, where it should return the number of records or the list of entities actually deleted:
instead I get
org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public abstract long
it also appears the generated SQL query is actually a SELECT instead of a DELETE whenever the derived delete query has a non void return type.
Affects: 2.0 GA (Neumann)
Issue Links:
- DATAJDBC-568 Derived delete query throws IncorrectResultSetColumnCountException
("is duplicated by")
Referenced from: pull request #230
2 votes, 7 watchers
haroldlbrown, LarsKaulen, MaksAleks, rferreira, lackovic and 7 more
Metadata
Metadata
Assignees
Labels
in: repositoryRepositories abstractionRepositories abstractionstatus: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement