Create subcriteria method have same bug, for example this isn't working:
criteria.createCriteria("primaryKey.entity", "entity").addOrder(Order.asc("entity.field"));
It produces same exception with wrong SQL identifier.
Seems that problem is more global.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Create subcriteria method have same bug, for example this isn't working:
criteria.createCriteria("primaryKey.entity", "entity").addOrder(Order.asc("entity.field"));
It produces same exception with wrong SQL identifier.
Seems that problem is more global.