Since hibernate 6.3 org.hibernate.annotations.Where and Loader are deprecated.
We are using these annotations together with @NamedQuery and @SQLDelete to implement soft deletion.
What is de non-deprecated way of implementing this?
Since hibernate 6.3 org.hibernate.annotations.Where and Loader are deprecated.
We are using these annotations together with @NamedQuery and @SQLDelete to implement soft deletion.
What is de non-deprecated way of implementing this?
Copyright © 2021 Jogjafile Inc.
According to documentation you can replace
@Whereannotation to@SQLRestriction:From:
To:
Also according to documentation you also can replace
@Loaderto@SQLSelector@HQLSelectAbout
@HQLSelectand@SQLSelectMore information about HOW TO DO IT I think you should check attached references to documentation about it.