[hibernate-issues] [Hibernate-JIRA] Created: (HHH-1991) add alias when create a subcriteria
Jorge L. Middleton (JIRA)
noreply at atlassian.com
Wed Aug 9 12:07:19 EDT 2006
add alias when create a subcriteria
-----------------------------------
Key: HHH-1991
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1991
Project: Hibernate3
Type: Improvement
Components: query-criteria
Versions: 3.1 rc2
Environment: windows
Reporter: Jorge L. Middleton
Priority: Trivial
Its very simple... only I noted this:
public DetachedCriteria createCriteria(String associationPath, String alias)
throws HibernateException {
return new DetachedCriteria( impl, criteria.createCriteria(associationPath) );
}
I had a problem with this method because, hibernate doesn't recognize the alias. The point is that you have to use criteria.createCriteria(associationPath, alias);
--
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/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list