invalid org.hibernate.ejb.metamodel.SingularAttributeImpl for Map<String, String>

Description

Short Description

I'm using a custom UserType because I want to use the PostgreSQL's hstore type as a Map<String, String>.

Entities

Error

Is there a way to "tell" the metamodel generator that it should be a Map type attribute? Shouldn't it assume that because I set the variable to a Map<String, String>?

If someone points me to the name of a class in the code and a little guidance, I might be able to submit a pull request.

Environment

hibernate-jpamodelgen:4.3.7.Final
hibernate-core:4.2.0.CR1
PostgreSQL:9.3.5
postgresql-jdbc:9.3-1101-jdbc4

Status

Assignee

Unassigned

Reporter

Karl Pietrzak

Fix versions

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure