http://opensource.atlassian.com/projects/hibernate/browse/HHH-786;jsessionid=afdapWoMgR6-RK94pf?page=comments