Hello,
That would be great to provide a way to handle nullable fields with java.util.Optional<T>.
If the field is nullable, then it must be wrapped with Optional<T> if the field is not nullable, the if can't be null (RuntimeException)
A year ago, i made a POC with Guava optional here : https://github.com/dgouyette/hibernateOptional
If you want i can provide a pull request, maybe i'll need some help
|