pull request added master (4.3): http://github.com/hibernate/hibernate-orm/pull/585 4.2: http://github.com/hibernate/hibernate-orm/pull/586