Can someone provide correct configuration which would solve this issue: https://hibernate.atlassian.net/browse/HHH-18722