Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
JPAQueryMixin.normalize isn't null safe anymore starting from 3.0.0 #379
Starting from 3.0.0, JPAQueryMixin.normalize isn't null safe anymore. Thus calling .where(null) leads to a NPE in 3.0.0 and 3.1.0. It worked fine in 2.9.0.
It was quite convenient to be able to build the Predicate in another method and able to return null when you have no resulting condition.
Something along the lines of:
We can work around it but I'm pretty sure we aren't the only people using this construct and it's a pretty nasty regression when it hits you.
Do you think you could make it null safe again?
I don't know if there's a planned maintenance release soon but it might be a good idea to include this fix in it, if so.
Thanks for your feedback.