jakartaee / jakartaee/persistence

Adding a @Where annotation for Entity classes

Open
#172 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
268
Forks
78
Avg merge
1d 6h
Merged PRs (30d)
13

Description

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](url)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue request and the linked Hibernate @Where annotation documentation. Define the intended JPQL-based behavior and acceptance criteria for entity classes before identifying implementation and test locations; done means the feature's scope and semantics are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.