[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2628) Allow using Composite User Types in criteria api

Matthias Bayer (JIRA) noreply at atlassian.com
Tue May 22 03:08:04 EDT 2007


Allow using Composite User Types in criteria api
------------------------------------------------

                 Key: HHH-2628
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2628
             Project: Hibernate3
          Issue Type: New Feature
          Components: core
    Affects Versions: 3.1.3
            Reporter: Matthias Bayer


The class CriteriaQueryTranslator does not support Composite User Types.
@see org.hibernate.loader.criteria.CriteriaQueryTranslator#getColumn(Criteria criteria, String propertyName)
 * (property does not map to a single column)
 
 
 	 Criteria criteria = HibernateUtil.getSession().createCriteria(IContract.class);
         ProjectionList projections = Projections.projectionList();
         projections.add(Projections.property("comp"));
         criteria.setProjection(projections);
         return criteria.list(); 
         
         -->  property does not map to a single column: ...

-- 
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