persistence
persistence copied to clipboard
Adding a @Where annotation for Entity classes
Adding the equivalent of a @Where annotation like the one available for hibernate as contained in the link below would be quite useful. It would be awesome too if the annotation accepts the condition in JPQL (Java Persistence Query Language) and not SQL like the hibernate annotation
https://docs.jboss.org/hibernate/orm/4.1/javadocs/org/hibernate/annotations/Where.html
- Issue Imported From: https://github.com/javaee/jpa-spec/issues/172
- Original Issue Raised By:@dawuzi
- Original Issue Assigned To: Unassigned