Short Description
I'm using a custom UserType because I want to use the PostgreSQL's hstore type as a Map<String, String>.
Entities
@Entity
@Table(name="logged_actions", schema="audit")
@TypeDefs(value={
@TypeDef(name = "hstore", typeClass = com.github.thealchemist.pg_hibernate.HstoreType.class)
})
public class LoggedAction implements Serializable {
private Map<String, String> rowData;
@Type(type = "hstore")
@Column(name="row_data", columnDefinition="hstore")
public Map<String, String> getRowData() {
return this.rowData;
}
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. 
|