Hello,
I have a composite user type property mapped like this:

<property name="JobName" type="SomeType, SomeAssembly">
      <column name="JOB_NAME1"/>
      <column name="JOB_NAME2"/>
      <column name="JOB_NAME3"/>
      <column name="JOB_NAME4"/>
      <column name="JOB_NAME5"/>
</property>

I wrote a criteria that performs this projection:

Projections.GroupProperty("JobName")

However the List() method fails with the following exception:
"property does not map to a single column"
And indeed it isn't.

Is there any way I can group by composite properties? I want all
columns to be in the GROUP BY SQL clause.

Thanks!
Dor.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to