I've got an Entity which has two Calendar instances. I'm trying to get all Entities where some date is between first and second date from Entity. For example, I have date 12-5-2018 and some Entity has first date 3-5-2018 and second date 15-5-2018, my date is between the dates from entity so this Entity will be in result list.
I tried solutions from other questions like this, but problem is that I'm using Hibernate 5.0 and there it's not working or it's deprecated.
Comments
Post a Comment