The following comment has been added to this issue:
Author: Leonardo Quijano
Created: Mon, 2 Jun 2003 7:07 PM
Body:
Didn't try the fully qualified class name thing before...maybe I wasn't in my best moment, hehe. ;)
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-118
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-118
Summary: Support for Java expressions in HQL
Type: Improvement
Status: Closed
Priority: Minor
Resolution: DUPLICATE
Project: Hibernate2
Components:
core
Assignee: Gavin King
Reporter: Leonardo Quijano
Created: Mon, 2 Jun 2003 10:47 AM
Updated: Mon, 2 Jun 2003 6:58 PM
Description:
I don't know if this has been already posted, but here I go.
It'd be useful to have something like this in HQL:
FROM foo in class Foo
WHERE (foo.someProperty != Foo.A_CONSTANT)
instead of
FROM foo in class Foo
WHERE (foo.someProperty != 354627)
Of course, it could be orthogonal, kind of:
FROM foo in class Foo
WHERE (foo.someProperty != foo.getComplexValue())
Or it could be just constants.
Is this feasible?
Leonardo
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|