Hi Ive got a subclass, and I use this subclass on a bag, however I want to use the order by from the base class. <bag name="operates" table="SYS_Project_Operate" inverse="true" lazy="false" cascade="delete" order-by="addDate"> ... <class name="Operate" table="SYS_Operate"> <property name="addDate" column="addDate" type="string" length="19" /> <joined-subclass name="Project_Operate" table="SYS_Project_Operate"> ...</joined-subclass>
it throw a exception,nested exception is: Unknown column 'operates0_.addDate' in 'order clause'
thanks in advance
|