Closed
Description
hwolf opened DATAJDBC-529 and commented
The derived query existsByToken(token: String) throws an exception when no entity exists with the given token
org.springframework.aop.AopInvocationException: Null return value from advice does not match primitive return type for: public abstract boolean xx.DeviceRepository.existsByToken(java.lang.String)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:226)
at com.sun.proxy.$Proxy71.existsByToken(Unknown Source)
at xx.DeviceRepositoryTest.existsByToken(DeviceRepositoryTest.java:24)
I expect, that existsByToken() returns false in such cases.
Affects: 2.0 RC2 (Neumann)
Reference URL: https://gitlab.com/hwolf/xx
Referenced from: pull request #212