There's a new patch for ANN-572, http://opensource.atlassian.com/projects/hibernate/browse/ANN-861Now includes a jUnit test. Please comment