@DbMap
We can map Map<String,String> properties with @DbMap.
For Postgres these map to HSTORE. For other databases these map to VARCHAR.
@DbMap(length = 800)
Map<String, String> map;
Fallback varchar length
We can specify a length and for non-Postgres databases this defines the length of the VARCHAR column that the map is persisted to.
// fallback to varchar(800) for non-Postgres
@DbMap(length = 800)
Map<String, String> map;