Created [OGM-400](https://hibernate.atlassian.net/browse/OGM-400) for the type issues.