michael wrote:
Please read the docs, that query is totaly wrong. For example you are using an alias s you have never defined. Also, unless you use the currently quite undocumented H3 api, createSqlQueries can only return mapped entities.
Thank you for reply.
As I've said before I've used different kind of queries.
Could you please show me what would be an example of correct syntax
for retrieving unique values from current_status column from the subclass(plsease see example below).
<class name="class1" .......
<subclass name="class2" .......
<property name="status" column="current_status" .......
</subclass>
</class>
Thank you,