[jboss-jira] [JBoss JIRA] (HIBERNATE-168) make @Where, @Filter, @Formula JPQL aware
nimo stephan (Jira)
issues at jboss.org
Fri Aug 9 04:29:00 EDT 2019
nimo stephan created HIBERNATE-168:
--------------------------------------
Summary: make @Where, @Filter, @Formula JPQL aware
Key: HIBERNATE-168
URL: https://issues.jboss.org/browse/HIBERNATE-168
Project: Hibernate Integration
Issue Type: Feature Request
Reporter: nimo stephan
Assignee: Steve Ebersole
Actually, the clause of @Where, @Filter, @Formula must be raw SQL. As Hibernate is an ORM providing JPQL as the query language, it should also allow JPQL inside these clauses.
*For example:*
{code:java}
// JPQL clause
@Where(clause ="users.tasks is not empty")
{code}
instead of
{code:java}
// SQL clause
@Where(clause"exists (select ....)")
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list