title: hibernate projections doesnt get only desired column
body: <p>I am trying to use projections to fetch only one column (countColumn) from a table. But somehow it's returning me the complete database row (meaning all the columns for the unique record from table). Please help me to identify what's the fix. Thanks in advance.</p>
  
  <p>code:</p>
  
  <pre><code>final String queryCount = "from DomainObj objShortName where objShortName.field1=:field1";
  HibernateCallback hibernateCallback = new HibernateCallback(){
       public Object doInHibernate(Session session) {
          Query query = session.createQuery(queryCount);
          query.setParameter("field1", field1);
          query.setMaxResults(1);
          Criteria criteria = session.createCriteria(DomainObject.class, "domainObj");
          ProjectionList proList = Projections.projectionList();
          proList.add(Projections.property("objShortName.countColumn")); //countColumn is parameted defined in my domain bean which is for countColumn in database table.
          criteria.setProjection(proList);
          criteria.setResultTransformer(Transformers.aliasToBean(DomainObject.class));
  
          return query.list();
      }
  };
  </code></pre>