hstore datatype not saved correctly

Description

I use spring-jpa with hibernate implementation and postgresql.
I try to save an column who is a hstore

I have a converter

when you do the prepare statement,

i don't know if you do

ps.setObject(1, map, Types.OTHER, -1);
...

but i read that don't work...

ps.setObject(1, map);

should work

Environment

hibernate 5.2.10
postgresql 9.6

Assignee

Unassigned

Reporter

Marc Collin

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure