[hibernate-dev] i think i found a bug in sql generation from criteria api..