[hibernate-dev] SQM and cast targets